adding version to java client