Add java dependency back