Fixed travis config file for java