Migration to PureJavaComm