set jdk version for travis