Upgraded Travis CI JDK preferences.