Java client update, minor fixes [virtual_client]