Java client