cocoa 64-bit

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:

  1. Set JDK 1.6 as Default VM (then all Java Applications are using JDK 1.6)
  2. 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:

8 responses

  1. Using Java 5 with the 64-bit Cocoa port is fine as well. Java 6 isn’t necessary. With Java 5, you may run into trouble launching because by default the 32-bit Java VM is preferred over the 64-bit one. This is easily overcome with the ‘-d64’ vm argument.

  2. Robert,
    I’m working with Cocoa 32-bit since some time without a problem.
    I’m just trying to switch daily work to cocoa-64bit.
    till now also without a problem – but I’ve not finished moving all to 64-bit installations.

  3. The Info.plist entry that work for me was the following:

  4. Brad,
    yes – that should work, too.
    is an alias pointing to …Home/bin

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s