Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in thread "main" java.lang.NoClassDefFoundError:

843810Mar 9 2003 — edited Aug 8 2004
HI guys, i am having the following problem when running any of my programs. It compiles fine, and then produces the following error message at runtime.

Exception in thread "main" java.lang.NoClassDefFoundError: Hello

Hello is the name of the class that i am writing. Previously had no probles with running programs, havent moved any files etc. Have tried reinstalling java sdk (1.4.1) and textpad all to no avail. Need to know how to fix it (in laymans terms btw!) as i soon have coursework to write. Any help will be greatly appreciated.

Thanks

Andy

P.S Please email me if possible (andy@spearfoot.com) so i can check it a lot easier, as this is pretty important. Once again cheers for any help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2004
Added on Mar 9 2003
23 comments
530 views