Skip to content


Also: I’m looking for some help with Eclipse in terms of developing GUI applications with SWT. I put together the “Hello World” SWT application exactly as specified, but for some reason I still get the following error every time I run:

java.lang.UnsatisfiedLinkError: no swt-win32-3054 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(
at org.eclipse.swt.internal.win32.OS.(
at org.eclipse.swt.widgets.Display.init(
at org.eclipse.swt.widgets.Display.(
at org.eclipse.swt.widgets.Display.(
at gui.Main.main(
Exception in thread “main”

I know that I should include the location of swt-win32-3054.dll in the VM section of the arguments in the Run configuration section; I’ve located two instances of the file and put them both in there. It doesn’t seem to work:

-Djava.library.path=”${system:ECLIPSE_HOME}/plugins/SwingVT/lib/win32; ${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}; ”

I just wish I knew what was going on and how to fix this; it seems to be a problem unique to myself…

RSS feed


No comments yet.

Sorry, the comment form is closed at this time.