Trouble with getting Serial library to work in Eclipse under Ubuntu
in
Integration and Hardware
•
1 year ago
I've been trying to get a sketch running in Eclipse that can communicate with Arduino via Serial, and have run into a problem that I can't figure out myself. In particular, when I load my sketch and ask it to list available serial devices (Serial.list()), I receive the following error:
- java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
To get to this point, I have set up my Eclipse environment to utilize the core.jar file from my Processing installation, then followed the same procedure to add the libraries I wanted to use. I then added "RXTXcomm.jar" and "serial.jar" from my Processing's modes/java/libraries/serial/library folder.
I suspect I need to add some sort of file to my Eclipse project's Build Path, but I do not know what that file is or where I can find it on my file system. Another thread (
http://forum.processing.org/topic/serial-library-in-eclipse) seems to support this idea, but they only refer to the MacOSX file system, rather than the Ubuntu file system, so I'm lost on the particulars.
So what am I looking for in Ubuntu?
1