Updating the java version to 7.