Change Java version from 1.8 to 1.7.