another UnsatisfiedLinkError

Started by Jan, November 07, 2006, 13:19:39

Previous topic - Next topic

Jan

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.

Matzon

this isn't a lwjgl issue, but rather SWT - but same thing applies. The swt dll needs to be on the native library path

Jan

Thank you very much for the quick reply.