Serial Port Programming

C

crypto

Hi,

I am writing a program that interfaces with a serial port device
(router). This application must work for both Linux and Windows
machines. As such, I would like to use Java.

I would like to know what free libraries are available to do serial
communications programming in Java for Linux and for Windows.

I understand that there is javax.comm which is for Windows/Solaris
only. Is there one that will work for both Windows and Linux? If not,
what are the libraries which I may use?

Thanks,
C29
 
D

Dale King

Richard said:

I second the recommendation for RXTX. I would like to add that RXTX can
be made compatible with Sun's JavaComm API, but I recommend against it.
There really is no point in trying to be compatible with Sun's lousy,
poorly designed CommApi that they have refused to update since before
the days of JDK1.2.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top