Using Java on Windows, that
is the simple way
Joking aside, the issue is that serial comms isn't part of the "core" Java libraries - it's an extension - so isn't part of the standard JDK distribution. That means that without the additional library/driver, you don't have any way to access the serial port hardware in the Java runtime - even just to do something simple like toggle RTS.
That's why you need the additional library/driver like RXTX. Even though you don't need the full comms library functionality, you need it to get access to the serial port hardware.
- Ron
Team #2607 controls mentor