jondaeh
May 2nd, 2011, 09:31 PM
Hi.
I am developing an application in Java, Netbeans, which is using the RXTX library for serial communication. I have got this working before by simply including the rxtx-2.2pre2.jar file in the "libraries" tab in netbeans, however now I get the error
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
And as I couldn't resolve the problem, I decided I might as well use the librxtx-java which is installed anyway with the arduino from the repositories. However, I can't get nebeans to understand that I have installed this library, as the gnu.io imports shows up as not existing.
Anyone know is this is possible to do, and if it is, how can I get netbeans to find the librxtx-java?
Thanks!
Jon, Norway
I am developing an application in Java, Netbeans, which is using the RXTX library for serial communication. I have got this working before by simply including the rxtx-2.2pre2.jar file in the "libraries" tab in netbeans, however now I get the error
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
And as I couldn't resolve the problem, I decided I might as well use the librxtx-java which is installed anyway with the arduino from the repositories. However, I can't get nebeans to understand that I have installed this library, as the gnu.io imports shows up as not existing.
Anyone know is this is possible to do, and if it is, how can I get netbeans to find the librxtx-java?
Thanks!
Jon, Norway