Use JDK8 for Travis build.