Hi,
I'm trying Dan O'Sullivan's example program from http://stage.itp.nyu.edu/~dano/cgi/C...ff=1&id=Serial . I'm running Java 1.5 in Windows.
I installed the RXTX windows files into the following: rxtxParallel.dll and rxtxSerial.dll into (jdk1.5 location)\jre\lib and the RXTXcomm.jar file into (jdk1.5 location)\jre\lib\ext .
Unfortunately, I get the following error when I compile the code after changing to "import gnu.io.*;" :
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at physcompserialdemo.PhysCompSerialDemo.main(PhysCompSerialDemo.java:26)
Java Result: 1
I have no idea what this error means. Please if you have any ideas or know how to solve this problem, please let me know.
Thanks,
C29


Reply With Quote



Bookmarks