Adding java client