Skip to main content



      Home
Home » Newcomers » Newcomers » Error Running SWT Example Program
Error Running SWT Example Program [message #37340] Fri, 18 March 2005 15:34 Go to next message
Eclipse UserFriend
Originally posted by: steve.petersen.zionsbank.com

I am trying to run an example SWT program (HelloWorld1) from within
Eclipse and it consistently fails with the same error. I have followed
all of the setup options that I have been able to find and believe that
they are correct. I get a JVM Launcher error stating that the main class
could not be found. In the Eclipse Console I get
"java.lang.NoClassDefFoundError: and Exception in thread "main"". Any
suggestions as to how to fix this would be greatly appreciated.


Thanks
Steve
Re: Error Running SWT Example Program [message #37708 is a reply to message #37340] Sat, 19 March 2005 02:53 Go to previous message
Eclipse UserFriend
Originally posted by: wang_w_t.126.com

check the classpath
maybe you need a dot in your classpath
like classpath=.;c:\jdk\lib

"Steve Petersen" <steve.petersen@zionsbank.com> ????
news:d1fe00$3cb$1@www.eclipse.org...
> I am trying to run an example SWT program (HelloWorld1) from within
> Eclipse and it consistently fails with the same error. I have followed
> all of the setup options that I have been able to find and believe that
> they are correct. I get a JVM Launcher error stating that the main class
> could not be found. In the Eclipse Console I get
> "java.lang.NoClassDefFoundError: and Exception in thread "main"". Any
> suggestions as to how to fix this would be greatly appreciated.
>
>
> Thanks
> Steve
>
Previous Topic:Help: Eclipse won't start
Next Topic:no swt dialogs
Goto Forum:
  


Current Time: Mon Sep 15 01:12:25 EDT 2025

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

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

Back to the top