change to use jdk7 to compile.