Does anyone know of a good Java API for controlling RS-232 devices in a WIN32 enviroment? I\'ve tried RXTX but they don\'t support RS232, only RS-485.
I advise you to try jSSC. This lib support Win32(Win98 - Win7) and Win64. Linux version under construction. Project page on Google code: http://code.google.com/p/java-simple-serial-connector/
I stumbled upon scm which is another open source library for RS232 serial port communication. Project page is https://github.com/RishiGupta12/serial-communication-manager
I've just implemented a single-direction interface (device->computer) with Scream3r's jSSC library using Java 1.6 and Windows 7 64 bit quickly and without problems.
Hint: If you look at his additional code in jSSC-Terminal.zip you get a nice (and essential for using the lib) example how to work with the library!
Thank you Scream3r for sharing this, you made my day!
What about JComm ?
alt text http://sourceforge.net/dbimage.php?id=80836
Have you tried Javacomm from Sun?
Without reservation, I recommend Java Serial Port from serialio.com. I had significant stability problems with the Sun, IBM and RxTx serial packages. SerialPort has been rock solid in production for over 2 years 24/7.
They support the standard Java serial API, as well as their own alternative proprietary one. I would stick with the standard API though, unless you really need something theirs has that the standard one doesn't, just to keep your options open.