upgraded java version to java 7