use java 1.6 to build