jantje/arduino-eclipse-plugin — Issue #6: Solved
Author: stepqom
Created: 2012-02-24 09:19:41+00:00
State: open

Thanks for your tips. The Stacktrace in the error view was more informative:

java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
at it.baeyens.arduino.arduino.Serial.(Serial.java:121)
at it.baeyens.arduino.arduino.Serial.(Serial.java:97)
at it.baeyens.arduino.common.Common.ResetArduino(Common.java:317)
at it.baeyens.avreclipse.ui.actions.UploadProjectAction$UploadJob.run(UploadProjectAction.java:409)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

And I've seen this before. So I did a search for the librxtxSerial.jnilib Lib in the eclipse directory and found it here: /Applications/eclipseCPP/configuration/org.eclipse.osgi/bundles/318/1/.cp . The installed lib ist just for 32 bit:

file librxtxSerial.jnilib.old
librxtxSerial.jnilib.old: Mach-O universal binary with 2 architectures
librxtxSerial.jnilib.old (for architecture ppc):	Mach-O dynamically linked shared library ppc
librxtxSerial.jnilib.old (for architecture i386):	Mach-O dynamically linked shared library i386

I replaced the 32-bit with a 64-bit version:

file librxtxSerial.jnilib
librxtxSerial.jnilib: Mach-O universal binary with 4 architectures
librxtxSerial.jnilib (for architecture x86_64):	Mach-O 64-bit bundle x86_64
librxtxSerial.jnilib (for architecture i386):	Mach-O bundle i386
librxtxSerial.jnilib (for architecture ppc7400):	Mach-O bundle ppc
librxtxSerial.jnilib (for architecture ppc64):	Mach-O 64-bit bundle ppc64

And now it works like a charme. And the Ports are displayed, too.

I made a post in my blog (most in german, but with a little note in english): http://www.stepqom.de/pblog/2012/02/24/arduino-entwicklung-mit-eclipse-auf-mac-osx-10-7-64-bit/

And again. Thank you for respons und for the plugin.