It looks like you are trying to run a stand-alone JFace/SWT program. Try
adding this to your VM Arguments:
-Djava.library.path=C:\Program
Files\eclipse\plugins\org.eclipse.swt.win32\os\win32\x86
Of course, make sure that the path is correct for your system.
Miguel Simon wrote:
Hi...
I am trying to follow the examples in Eclipse 2.1.0, but I get this
error... What to do? Thanks.
Regards...
Miguel.
-----------------------
java.lang.UnsatisfiedLinkError: no swt-win32-2133 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:108)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:46)
at org.eclipse.swt.widgets.Display.internal_new_GC(Display.java:1291)
at org.eclipse.swt.graphics.Device.init(Device.java:547)
at org.eclipse.swt.widgets.Display.init(Display.java:1310)
at org.eclipse.swt.graphics.Device.<init>(Device.java:96)
at org.eclipse.swt.widgets.Display.<init>(Display.java:291)
at org.eclipse.swt.widgets.Display.<init>(Display.java:287)
at
org.eclipse.swt.examples.helloworld.HelloWorld1.main(HelloWorld1.java:23)
Exception in thread "main"