Add java setup to travis.yml