I have run the following to install the RXTX libraries in Ubuntu x86 13.04.
sudo apt-get install librxtx-java
I am using Netbeans and have added the RXTXComm.jar as a library to my application.
The code still flags the error of not being able to import the following:
import gnu.io.CommPort;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
librxtxSerial.so is in these locations:
/usr/lib/jni/librxtxSerial.so
/usr/lib/jvm/java-7-oracle/jre/lib/i386/librxtxSerial.so
I have added a file to /etc/ld.so.conf.d/rxtx.conf which contains the line:
/usr/lib/jni/
I then ran sudo ldconfig.
I continue to get the java import issues in netbeans ? Any ideas?