Since Eclipse 3.5 Galileo …
…SWT supports Cocoa on OSX: 32-bit and 64-bit.
If you like to use Eclipse Cocoa 64-bit, then you must be sure, that Apples Java JDK 6 is used.
There are two ways to resolve this:
- Set JDK 1.6 as Default VM (then all Java Applications are using JDK 1.6)
- Configure Eclipse to use JDK 1.6 instead of Default Java 1.5 VM
1. Set Java 1.6 as Default VM
Open Applications – Utilities – java-preferences
You can Drag the VMs into your prefered order – to use Java 6 move Java SE 6 to the first position .
Because I’m not sure if all Applications run well under Java6 64 Bit I let the Default point to J2SE 5.0 and instead…
Configure Eclipse to use Java 6
You have to open the Info.plist, there are some commented lines to change the VM.
Uncomment one and direct to your Java 6 Framework directory:
Now start Eclipse using Java 6 and 64-bit Cocoa !
Eclipse -> About -> Installation Details
shows under Configuration that you’re really running Java 6 – 64 🙂
Have Fun with 64 Bit !
EPP Packages needed for OSX Cocoa 64-bit ?
There’s no download yet, but you get it easy: