changed java version to 7