Trying to make Java lib ServiceClient work