must use sun java jdk6 to build