Update .travis.yml

Added JDK configuration to .travis.yml.