Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Problem with a standalone JFace application in Eclipse


Did you include both swt.jar and swt-pi.jar?  On GTK, the extra jar is necessary for licensing reasons.



"Stelian Iancu" <stelian.iancu@xxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

03/05/2003 09:09 AM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-swt-dev] Problem with a standalone JFace application in Eclipse



Hi!

First of all, I am sorry to post this here, but I've also posted the
question on the newsgroup and no answer.

So I tried to do a little JFace standalone application. I've included all
the necessary .jars and, when I try to run it, I get:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/swt/internal/gtk/GdkEvent
       at org.eclipse.jface.window.Window.createShell(Window.java:314)
       at org.eclipse.jface.window.Window.create(Window.java:280)
       at org.eclipse.jface.window.Window.open(Window.java:530)
       at com.biscompute.uwe.ui.UWExplorer.<init>(UWExplorer.java:127)
       at com.biscompute.uwe.main.UWE.main(UWE.java:17)

Can you tell me what is the problem and what can I do to fix it? I suspect
it has something to do with the swt libs. I've put them in the $PATH (like
it is done in windows). Do I have to put them somewhere else?

Any help is appreciated!

Thanks!

--
Stelian Iancu

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top