Remove java dependency