Eclipse RCP app for Carbon on OS X Yosemite

Had to run old Eclipse RCP app, and since I’m using Mac I’ve got latest OS X Yosemite.

I was also using old Eclipse 3.3 and JDK 6 for OS X downloaded from this location (since newer OS X were only shipped with JDK7 and now JDK8):

The RCP app has target carbon and x86. Now when starting the app I had some weird errors about carbon-swt not being in classpath.

The fix turned out to be very simple: parameter “-d32” had to be added to run configuration parameters alongside with platform and the rest.

The hint was found on stackoverflow, with proper explanation of the reasons: “The Carbon SWT libraries are 32 bit only and will not load on a 64 bit runtime.”


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 )

Google+ photo

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

Connecting to %s