Switch to Java 1.8

Travis CI now support Java 1.8 early access so switch to that directly
so that we can use new Java programming language features and reuse the
JVM functional interfaces for code generation.

Signed-off-by: Pekka Enberg <penberg@kernel.org>