LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Jan on November 07, 2006, 13:19:39

Title: another UnsatisfiedLinkError
Post by: Jan on November 07, 2006, 13:19:39
Hi,
I get the following error message trying to start an swt code snippet that uses lwjgl.

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3235 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:123)
   at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
   at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
   at Snippet195.main(Snippet195.java:49)

It is not the "no lwjgl in java.library.path" Problem.

As a VM argument I entered the following: -Djava.library.path=H:\eclipse\lwjgl-1.0beta3\native\win32

The correct .dll's seem to be in that directory.

Help is very much appreciated.
Title: another UnsatisfiedLinkError
Post by: Matzon on November 07, 2006, 13:32:15
this isn't a lwjgl issue, but rather SWT - but same thing applies. The swt dll needs to be on the native library path
Title: another UnsatisfiedLinkError
Post by: Jan on November 07, 2006, 14:40:15
Thank you very much for the quick reply.