Updated travis build to use Java.