Fixed Java version string. Java 7 uses "7" instead of "1.7".