Updated Java for travis