brought Java Client up to date