Change Java version from 6 to 7