we have to fix the JDK 1.7 version in compile time