Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] swt plugin giving excepion

Hi 

I have downloaded Eclipse 2.1.3 from eclipse.org. Now
I am writing some basic SWT code. The code is fine, it
complies well, am even I am able to build my project.

Now if I run it as an application (thats how I have
written it), it is giving exception that unable to
load swt libraries, even though I have provided the
correct path for the swt jar.

Has anyone faced this problem ? Is there some problem
with swt plugin that comes in Eclipse 2.1.3 downloaded
from the official site.

Following is the exception :

*************
java.lang.UnsatisfiedLinkError: no swt-win32-2136 in
java.library.path
	at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
	at java.lang.Runtime.loadLibrary0(Runtime.java:788)
	at java.lang.System.loadLibrary(System.java:834)
	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:1316)
	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 swtTypes.swtTools.createBasicStuff(Basic.java:23)
	at swtTypes.Basic.main(Basic.java:39)
Exception in thread "main" 

*************

Regards
Hemant



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Back to the top