Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Newbie Question -- compiling the SWT examples
Newbie Question -- compiling the SWT examples [message #62416] Thu, 19 June 2003 23:08
Eclipse UserFriend
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.
Previous Topic:JUnit Plugin Class-Loader
Next Topic:Trim trailing whitespaces
Goto Forum:
  


Current Time: Wed Jul 17 01:38:20 GMT 2024

Powered by FUDForum. Page generated in 0.02270 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top