Set Java version to JDK 7.