set travis conf to java.