added java dependency in travis conf