Changed to Java 8 for Travis CI