Newbie Question -- compiling the SWT examples [message #62416] |
Thu, 19 June 2003 19:08 |
Eclipse User |
|
|
|
Originally posted by: eclipse.digitig.co.uk
I'm having problems running the SWT examples. Since it's a compilation
problem rather than an SWT problem I thought it best to ask in here. Hope
that's ok.
I've set it all up as described under "Running and browsing the SWT
examples manually", but when I run I get an error "Could not find the main
class. Program will exit!".
The more detailed error message is "java.lang.NoClassDefFoundError:
Djava/library/path=C:\Program
Files\eclipse\plugins\org/eclipse/swt/win32_2/1/0\os\win32\x 86
Exception in thread "main""
The text in the VM Arguments window is
Djava.library.path="C:\Program
Files\eclipse\plugins\org.eclipse.swt.win32_2.1.0\os\win32\x 86 "
That path exists, and the directory it leads to contains one file,
swt-win32-3007.dll.
Where am I going wrong?
I'm an eclipse /and/ a Java newbie, BTW.
Thanks for your help.
|
|
|
Powered by
FUDForum. Page generated in 0.24978 seconds