remove dependance of JDK7