Java Tools

[Eclipse] java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Double click on your eclipse, and you receive error log as following (logged at: configuration/xxxxx.log)

!ENTRY org.eclipse.osgi 4 0 2016-07-12 00:22:11.260
!MESSAGE Application error
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(
at org.eclipse.swt.internal.Library.loadLibrary(
at org.eclipse.swt.internal.C.<clinit>(
at org.eclipse.swt.widgets.Display.<clinit>(
at org.eclipse.ui.internal.Workbench.createDisplay(
at org.eclipse.ui.PlatformUI.createDisplay(
at com.aptana.rcp.IDEApplication.createDisplay(
at com.aptana.rcp.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

It’s because of Eclipse is on 32-bits JVM and your environment is pointing to Java JVM 64-bits, you can check your default JVM via Java -version.

To solve this, you can install another 32-bits JVM and let’s eclipse point it or passing in your eclipse.ini with following JVM parameter:


The argument -d32 tells eclipse to pick the right JVM to use. I did that so that I do not need to install another JVM in my PC.

By osify

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.