[Rxtx] MacOS binaries?

Chris Bartley bartley at cmu.edu
Mon Apr 16 19:21:13 MDT 2012


Hi Mike,

I have pre-built binaries for Mac OS.  They're about a year old but work fine for us from OS X 10.5 on up through 10.7.  Full details on how I built them (including changes I made to the RxTx source) are here:

	http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt

Binaries and source (both the unmodified and modified snapshots) are here:

	http://code.google.com/p/create-lab-commons/source/browse/#svn%2Ftrunk%2Fjava%2Flib%2Frxtx

The binaries work fine for us for apps deployed via Java Web Start.  See here for working JNLPs:

	http://artsandbots.com/visualprogrammer/

Chris


On Apr 16, 2012, at 6:39 PM, Mike Markowski wrote:

> I'm happy to have several rxtx-based apps working through Web Start on Windows and linux.  On MacOS, however, I receive in Java Console:
> 
> Java Web Start 1.6.0_31
> Using JRE version 1.6.0_31-b04-415-11M3635 Java HotSpot(TM) 64-Bit Server VM
> […]
> ----------------------------------------------------
> java.lang.UnsatisfiedLinkError: /Users/Mike/Library/Caches/Java/cache/6.0/26/3a0
> b44da-21c89376-n/librxtxSerial.jnilib:  no suitable image found.  Did find:  /Us
> ers/Mike/Library/Caches/Java/cache/6.0/26/3a0b44da-21c89376-n/librxtxSerial.jnil
> ib: no matching architecture in universal wrapper thrown while loading gnu.io.RX
> TXCommDriver
> Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /Users/Mi
> ke/Library/Caches/Java/cache/6.0/26/3a0b44da-21c89376-n/librxtxSerial.jnilib:  n
> o suitable image found.  Did find:  /Users/Mike/Library/Caches/Java/cache/6.0/26
> /3a0b44da-21c89376-n/librxtxSerial.jnilib: no matching architecture in universal
> wrapper
>        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1716)
>        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>        at java.lang.System.loadLibrary(System.java:1045)
>        at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
>        at util.Serial.getSerialPortNames(Serial.java:185)
>        at antbw.AntBwPanel.mkPortComboBoxes(AntBwPanel.java:102)
> […]
> 
> I'm using rxtx-2.2pre2-bins and wonder if appropriate Macos binaries exist?  As you can guess, I'm not a Mac user and much more comfortable on linux.  The Mac info is:
> 
> Darwin alices-imac.home 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
> 
> The software and jnlp are at   http://udel.edu/~mm/ham/elecraft/   if that's helpful.  
> 
> Thanks!
> Mike
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
> 




More information about the Rxtx mailing list