fix jdk for travis