hi
i just can't seem to build or run my swt apps out of eclipse.
could you please tell me how to do that
i am trying
java -Djava.library.path="..." -Dmain.class="..."
and i am getting
Exception in thread "main" java.lang.NoClassDefFoundError: ....
thanks
-mardini
Andrew Thompson - 14 Nov 2005 11:01 GMT
> i just can't seem to build or run my swt apps out of eclipse.
> could you please tell me how to do that
You could try the SWT forums at the Eclipse site,
<http://www.eclipse.org/newsgroups/index.html>.
HalcyonWild - 14 Nov 2005 13:12 GMT
> hi
> i just can't seem to build or run my swt apps out of eclipse.
[quoted text clipped - 5 lines]
> thanks
> -mardini
First thing when you get a NoClassDefFoundError. or a
ClassNotFoundException..
Check classpaths.
foaud167 - 14 Nov 2005 16:22 GMT
thanks
i figured it out
javac -classpath (path to swt*.jar file) *.java
java -classpath (path to swt libraries (dll or so); jar; code)
-Djava.library.path="path to libraries"