This has been driving me crazy for days now. I just recently got a new NXT kit and started working with my Lego Robotics stuff again. (I have two old RCX kits, one 1.0 and the other 1.5, but I haven't touched them for years.) In the intervening time, I switched to using a Mac. I already use Eclipse for other software development, including a small amount of Java, but I'm a neophyte at Java, really. I thought I had everything setup and working and then, when I tried to run my tiny little test project, I got this:
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.
Linking the file failed with exit status 1
That's where I've been stumped for the last three days of extensive web searching. I cannot, for the life of me, find a 32-bit JVM/JDK/whatever that I can install on my Mac OS X 10.8.2 system. I even tried installing the MacPorts openjdk6, but that build failed too. Has anybody got this working on Mac OS X 10.8.2 with Eclipse? Where can I find a functional 32-bit JVM for this platform? The JVM that Oracle supplies, which is the only official JVM for this OS version, does not appear to support 32-bit operations at all. It is strictly 64-bit.
Apple has been pissing me off more and more with the direction they are taking Mac OS X. I don't think I'll be buying another Mac unless something changes before I need a hardware upgrade.