changed java version to 6