| Author |
Serial Port connection using javax.comm
|
Marco Galea
Greenhorn
Joined: Mar 30, 2011
Posts: 26
|
|
Hi guys,
I'm trying to import the javax.comm library but it seems that i don't have the package (so i'm assuming it doesn't come part of the JDK download). anyway does anyone know a link for this library please since google didn't really help me this time around ? Also i've heard another library RXTX, which lets you connect to a serial port (what i would like to eventually do), the thing is once you download how to install ??? or just paste the jar into the java folder ??
If anyone knows of another library which one could use to connect to a serial port please let me know.
Thanks in advance
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 11642
|
|
The javax.comm API is indeed not part of the standard JDK. As far as I know, this is a library that Sun once supported, but they've dropped support for it a few years ago.
That means you might still be able to get it, but it will be an old library. It's also hard to find. I found a ZIP file here: javacomm20-win32.zip, this is a version for Windows. You might be better off with the RXTX library.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Marco Galea
Greenhorn
Joined: Mar 30, 2011
Posts: 26
|
|
Thanks Jesper,
i actually read somewhere that they stopped to support it but just wanted a second opinion to be honest.... will download Rxtx and try to install it... if i bump somewhere during the install will post here since it's the first time installing a "3rd party" library.
Thanks again
Marco
|
 |
Marco Galea
Greenhorn
Joined: Mar 30, 2011
Posts: 26
|
|
RXTX library installed and working.
Thanks
|
 |
 |
|
|
subject: Serial Port connection using javax.comm
|
|
|