Added java dependency