Added jdk specification for travis.