Updated java compile version to make Travis tests pass