Setting up RXTX on Mac OSX Leopard

I needed to set up RXTX to interface with USB/Serial connections from my Mac. I was getting the following eror:

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

To overcome this I followed the instructions on the rxtx.org Mac OSX installation guide, and used the rxtx-2.1-7r2.zip download. I copied the files RXTXcomm.jar and i686-apple-darwin9.4.0/librxtxSerial.jnilib (this file might be in a slightly different directory, depending on your system architecture) to /Library/Java/Extensions - to make RXTX available to all users. This fixed the problems :-)

public/rxtxmac.txt · Last modified: 2008/08/26 14:49 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki