Removing java dependency