Change Java version to 7.