Add x-java dependency