Upgrade to Java 7.

JDK 5 has been EOL'd for a good while. Same with JDK 6.