Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT under linux gtk

On Fri, 2003-02-21 at 22:14, Veronika_Irvine@xxxxxxxxxx wrote:
> 1) This is  bug in SWT.  I have entered the following bug report:
> http://dev.eclipse.org/bugs/show_bug.cgi?id=32481
> 
> 2) SWT uses different source folders to separate out java files so that we 
> can pick and choose which classes to include in the jar we build.  We also 
> have custom ant scripts to allow additional flexibility.  See 
> org.eclipse.swt.gtk/build.xml for an example.
Thanks.
Can you help me a little more?
It is my first time using SWT. and i am a java newbie
I dont know how to run a HellowSWT.jar  in command line
i used
$ java -jar -Djava.library.path=./  -cp ./:./swt.jar:./swt-pi.jar 
HellowSWT.jar

But get
$ Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/swt/widgets/Composite


I have copy the swt.jar, swt-pi.jar , libswt-gtk-2128.so,
libswt-pi-gtk-2128.so   all into the same director with HellowSWT.jar

and more i have set LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH
/opt/eclipse/plugins/org.eclipse.swt.gtk_2.1.0/os/linux/x86

could you help me a little?
where i am wrong?
Many Many thanks




Back to the top