Correct travis java version build error