fixed java dependency