swt tutorial in eclipse 3.0.1 on macosx 10.3.7 [message #25639] |
Sat, 05 February 2005 10:56 |
Eclipse User |
|
|
|
Originally posted by: svenn.are.bjerkem.de
Hi,
installed eclipse 3.0.1 from eclipse-SDK-3.0.1-macosx-carbon.tar on my
powerbook G4 and went through the SWT tutorial as described.
I encountered a problem when I wanted to run the application:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/swt/internal/carbon/OS
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:311)
at HelloWorld.main(HelloWorld.java:22)
I notice that there is a slight discrepancy in the tutorial description
regarding the extra VM arguments and my eclipse harddisk directory
structure:
Tutorial:
-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}
My location:
/Applications/meine/eclipse/plugins/org.eclipse.swt.carbon_3 .0.1/os/macosx/ppc
I have tried to replace 3.0.0.with 3.0.1 and the variable path in
java.library.path with that absolute one without any more or less success.
I have included
/Applications/meine/eclipse/plugins/org.eclipse.swt.carbon_3 .0.1/ws/carbon/swt.jar
into the Java Build Path as described in the tutorial text.
Any idea what I do wrong?
--
Svenn
|
|
|
Powered by
FUDForum. Page generated in 0.10191 seconds