I faced this exception after moving to a new laptop, new development environment.


BUILD FAILED

....../build.xml:25: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Total time: 2 seconds

So, first one thing we need to do is : check current Eclipse version and installed JVM to make sure it have the same 32 bit version or 64 bit version or not.

To check current JVM version, just type
 Java -version
In above image, our system installed JVM 64-bit as default , and I'm using Eclipse 32 bit.

--> Just download Eclipse 64 bit or install JVM 32 bit, this exception will gone.

If you don't want to reinstall Eclipse, just user  -d32 parameter for JVM 64 bit in Eclipse.
Go to Eclipse -> Preferences -> Java -> Installed JRE


Click finish and try your work again 

Keywords: cannot load 32-bit swt libraries on 64-bit jvm