Set jdk version for travis