RXTX native library on linux
843802Dec 12 2003 — edited Feb 5 2004Hi 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!