Fix Travis setting to use Java 8.