RXTX is easier to install. It doesn't need that stupid properties file.
RXTX is also still in actual continuing development. JavaComm has not
been touched since 1998.
It depends. I personally still prefer JavaComm (if necessary with RxTx
as a driver). JavaComm is the standard API. It is not great, but it is
also not as bad as many claim.
I think calling it a standard is being too generous. It is an API put
out by Sun, but I see little justifying calling it a standard.
I see absolutely no reason to prefer JavaComm over RXTX.
I had issues with JavaComm where I would setRecieveTimeou and I would
get timeouts even though there was a steady stream of data and it should
never timeout as long as the device was connected. I could only solve it
by setting notifyOnDataAvailable even though I was not using the event
notification.
Both JavaComm and RxTx are difficult to install, particularly via
WebStart. JavaComm comes with a properties file which requires to go to
a particular directory,
I cannot say enough about the stupidity of that properties file. Whoever
implemented JavaComm had no clue what they were doing.
All the file tells you is the name of the class file to create an
instance of for the platform. That information should have been in the
jar file using the Service Provider specification of the Jar specification.
But just using the stupid properties file wasn't bad enough. I've
decompiled the code for the windows one before and they have checks
throughout the code to make sure that the file is actually there by
repeatedly asking the security manager if it is deletable.
an RxTx installation requires to change
ownership and access rights of the serial device.
For Linux that is.