Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RXTX native library on linux

843802Dec 12 2003 — edited Feb 5 2004
Hi there, does any one knows which RXTX native lib to load on linux?

I downloaded comm.jar and corresponding lib file librxtxSerial-2.1-7pre16.so (published on april 4, 2003)
Then I run my application, it throws a exception:
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
...
at gnu.io.RXTXCommDriver.<clinit>(RXTXCommDriver.java)
...

OK, fine. I put the lib file librxtxSerial-2.1-7pre16.so in $JAVA_HOME/jre/lib/i386
try again, this time it's complaining about the Serial library:
java.lang.UnsatisfiedLinkError: no Serial in java.library.path
...
at gnu.io.RXTXCommDriver.<clinit>(RXTXCommDriver.java)
...

This is stranger because in the source code there is no place
loading Serial, but only rxtxSerial. It maybe that in the rxtxSerial
native calls it tries loading Serial library.

My question is, how do i get this "Serial" library?

Your help would be grateful!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2004
Added on Dec 12 2003
1 comment
688 views