Use JDK 8 with Travis CI.