add choice of javac and locked it to java7