We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › processing + eclipse on snow leopard
Page Index Toggle Pages: 1
processing + eclipse on snow leopard (Read 1765 times)
processing + eclipse on snow leopard
Mar 17th, 2010, 8:10pm
 
i followed the guide to run processing under eclipse. my specific need is access to a full-blown debugger, so the processing ide, while very cool, was a no-go after a few days of work.

everything worked, up until i tried using the rx-tx library, and then i ran into issues. the basic problem is that the native library that ships with processing is a universal binary that has ppc and i386. the jvms that come with snow leopard are all x64, and won't load either of those two architectures. you need to get a copy of the 1.5 jvm that came with leopard, and make your eclipse project use it.

more detail here:
wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard

to change the vm, right-click on the 'JRE System Library' element in package explorer, and select the appropriate jvm.
Re: processing + eclipse on snow leopard
Reply #1 - Apr 7th, 2010, 3:07pm
 
Please search the bugs database to if this has been filed:
http://dev.processing.org/bugs/

If not, please file the bug there.
Re: processing + eclipse on snow leopard
Reply #2 - Apr 10th, 2010, 5:20am
 
alex p wrote on Mar 17th, 2010, 8:10pm:
everything worked, up until i tried using the rx-tx library, and then i ran into issues. the basic problem is that the native library that ships with processing is a universal binary that has ppc and i386. the jvms that come with snow leopard are all x64, and won't load either of those two architectures. you need to get a copy of the 1.5 jvm that came with leopard, and make your eclipse project use it.

more detail here:
wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard

to change the vm, right-click on the 'JRE System Library' element in package explorer, and select the appropriate jvm.


No, that's absolutely not correct. There is a 32-bit version of the JVM on Snow Leopard, use that. The simple explanation is that you add -d32 on the command line, but if you're going outside the Processing environment, you need to read up on that yourself. If you're going to develop Java code, you need to research how to be a Java developer.

Again, please *do not* ever install Java 1.5 on Snow Leopard:
http://processing.org/discourse/yabb2/?num=1262745899
Page Index Toggle Pages: 1