Tuesday, November 8, 2011

Cannot load 32-bit SWT libraries on 64-bit JVM

This usually is happened when launching a 32-bit SWT application on MacOS. The solution lives on the SWT official FAQs
You need to be sure that you are forcing your launch to use a 32-bit VM. Apple ships most of their VMs with 32 and 64-bit binaries. To force the VM to run in 32-bit mode, use the -d32 option as VM argument in your launch configuration. Note that as of Snow Leopard (OS X v10.6) the default VM is 64-bit.

No comments: