Friday, June 18, 2010

cannot load 32 bit SWT libraries on 64 bit JVM

on eclipse, MacOSX Snow Leopard

error message : cannot load 32 bit SWT libraries on 64 bit JVM

I changed java preferences using GUI. The preferred order of java is that first 32-bit, second 64-bit. However it doesn't take effect.

I googled and found the easy solution.
The JVM argument is given "-d32". If you'd like to run 64 bit JVM, give "-d64".

reference