Add JDK configuration for Travis CI