Use jdk 7 to build the project.