Package Javax Comm Official
The de facto standard replacement for many years was RXTX (e.g., org.rxtx:rxtxcomm ), but it is also considered old. Modern Java serial communication is typically handled via modern, maintained libraries like jSerialComm or jSSC (Java Simple Serial Connector).
If you are working on a legacy system, I can provide tips on: Finding the libraries Troubleshooting the "No serial ports found" error Package Javax Comm
Oracle/Sun dropped support for the original JavaComm API years ago, making it hard to find official downloads. The de facto standard replacement for many years was RXTX (e