Change java version from 6 to 7