travis: Build java code with OpenJDK8

If travis is green, this is good to merge.