Java api

Bring Java client library to new api version