travis script to jdk6