limited jdk to java 7