Javax Comm - Package
(like jSerialComm) if you are starting a new project. What is your current goal with javax.comm ? Opening up new ports to Java with javax.comm - InfoWorld
Enables communication with external hardware like modems, barcode scanners, and custom sensors. Package Javax Comm
While it was once a stable and flexible solution for Java-to-hardware communication, javax.comm should be avoided for new projects . It is extremely difficult to set up on modern systems, and superior, actively maintained libraries are readily available. (like jSerialComm) if you are starting a new project
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). While it was once a stable and flexible
The package, often referred to as the Java Communications API or JavaComm, is a legacy API developed by Sun Microsystems to provide Java applications with low-level, asynchronous access to serial ( ) and parallel ports. Overview & Purpose