I'm going to become a devil's advocate and tell you about the Yegge Style adventures developing a Java-based RPG called Wyvern (unfortunately, now defunct). His view, as I understood it, was that Java made the code too complex to maintain; he received up to half a million lines in one step.
Of course, you could say that your game will not become so big. But do not underestimate the power of creep. :-)
However, some successful games are indeed written in Java. Mikera's answer is one example, for example Runescape or Minecraft. But still, if your game can get big, Java is probably still not (in my opinion, and it seems that Steve Igge also) is your best bet.
source share