Change java version to java7