modify java version from 7 to java 1.6