Use ot on java

Resolves https://github.com/codio/client/issues/3159