I think there is some confusion. The Connect Port X2 does not support Java. Nor does the Java Library support the X2.
The application environment for the X2 is Python.
You would need to write some sort of protocol in Python in which you are sending data over the Ethernet network between the X2 and what ever server or PC your Java app is running on.
No confusion. We are aware that the primary communication is python on the X2. This approach is not ideal with our application which was written to interact via USB modems, and would require major a re-write.
We have found the RealPort technology that will emulate a COM PORT locally and should serve our needs.