This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
Author

NoClassDefFoundError

derek_ho
Greenhorn

Joined: Jan 24, 2002
Posts: 4
I got this error when i tried to run a simple java program.
"Exception in thread "main" java.lang.NoClassDefFoundError:"
I am using windows 2000.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
derek_ho,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Sounds like a classpath issue. A nice feature here at JavaRanch is the ability to search past conversations for lots of valuable information. If you try a quick search on this forum for "NoClassDefFoundError" in the subject line, you'll find many past conversations on this topic and the corresponding solutions. The search page link is at the top right of this page.
Any luck?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: NoClassDefFoundError