Lower requirement for Java version from 1.7 to 1.6