first version of Mint.com was written (horror!) in Java
You're implying that it was entirely rewritten in something else later...I'm still pretty sure that if you pick your frameworks and tools right, Java can be a competitive development framework. If you go all Java Beans, EJB, etc, you might be in trouble, but it's not so much the language per se.
The technology stack has absolutely nothing to do with your ability to keep the pace with competition.