You need Sun's Javax Comm package for that (serial port support) or even better, a public domain clone: RXTX (it's even better than Sun's version and runs on Windows machines). Google is your friend here.

kind regards,

Jos

02-17-2010, 05:00 PM

newbiejava

is it available for Windows and Linux machine?

02-17-2010, 05:24 PM

Fubarable

Quote:

Originally Posted by newbiejava

is it available for Windows and Linux machine?

I could take a guess, but for my money, I'd go to the site(s) and check out what they had to say.

02-17-2010, 05:36 PM

JosAH

Quote:

Originally Posted by newbiejava

is it available for Windows and Linux machine?

Yes, RXTX is available for MS Windows and Linux, the Sun package is not (officially) available for MS Windows anymore. As I wrote before: Google is your friend.

kind regards,

Jos

02-17-2010, 07:36 PM

FON

Hi newbiejava,

Next time before you post question,
please try using Search on this forum,
because if question is very common
it is likely that someone has answered it already.

So click that Search link, go advanced
and look for "serial port" it thread's titles.

You will find thread that has "serial port" in it title
and file attached - that is help I have posted on this topic in comm_api.doc.zip file