Skip to main content

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

Hemant
   If u have read the swt tutorial to install & run swt applcns,u might c
that in addition to swt.jar path u have to specify the path of dll file
which will be in x86 dirctry(if u use windows) parent dirctry of
org.eclipse.swt.win32.2.1.3......
   Do not give any space in the path of dll file.

Regards,
Steven Sequeira

----- Original Message ----- 
From: "Hemant Jaggi" <hemant_kumar_jaggi@xxxxxxxxx>
To: "pde" <pde-dev@xxxxxxxxxxx>
Sent: Tuesday, June 22, 2004 12:02 PM
Subject: [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
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/pde-dev



Back to the top