Java client for OTP