Skip to content

593


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(Library.java:100)
at org.eclipse.swt.internal.win32.OS.(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1745)
at org.eclipse.swt.graphics.Device.(Device.java:100)
at org.eclipse.swt.widgets.Display.(Display.java:343)
at org.eclipse.swt.widgets.Display.(Display.java:339)
at gui.Main.main(Main.java:26)
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 | Trackback URI

Comments »

No comments yet.

Name
E-mail
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post