change java version to 7