Official site download page http://rxtx.qbang.org/wiki/index.php/Download.
At the moment RXTX 2.1 is the main development branch for RXTX.
Copy libraries to your java dir from binary pack (rxtx-2.1-7-bins-r2.zip):
sudo cp rxtx-2.1-7-bins-r2/Linux/i686-unknown-linux-gnu/*.* /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386 sudo cp rxtx-2.1-7-bins-r2/RXTXcomm.jar /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext
private void registerScannedPorts(int PortType) { ... if(osName.equals("Linux")) { String[] Temp = { "ttyS", // linux Serial Ports "ttyMI", // linux MOXA Serial Ports - ADD THIS LINE! "ttySA", // for the IPAQs "ttyUSB" // for USB frobs }; CandidatePortPrefixes=Temp; } ... }
sh ./configure make
sudo cp rxtx-2.1-7r2/RXTXcomm.jar /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext