venerdì 24 luglio 2009

Arduino: il Java Apple è una Ciofeca!!

clipped from arduino.cc

Why doesn't the Arduino software run after I updated the Java on my Mac?

The latest Java update from Apple attempts to use 64-bit version of native libraries, but the Arduino application comes with a 32 bit version of the RXTX library. If you launch Arduino, you'll get an error like:

Uncaught exception in main method: java.lang.UnsatisfiedLinkError: /Applications/arduino-0016/Arduino 16.app/Contents/Resources/Java/librxtxSerial.jnilib: no suitable image found. Did find: /Applications/arduino-0016/Arduino 16.app/Contents/Resources/Java/librxtxSerial.jnilib: no matching architecture in universal wrapper

To fix this, click on the Arduino application (e.g. Arduino 16.app) in the Finder, and select Get Info from the File menu. In the info panel, click the Open in 32 Bit Mode checkbox. You should then be able to launch Arduino normally.

Dopo aver aggiornato il Java sul Mac, occorre marcare l'applicazione "Arduino 16.app" in modalità "open in 32 bit mode", altrimenti non parte più.

Come al solito la Apple fa solo pasticci...!

Nessun commento:

Posta un commento