RSS Forums RSS
Please support our Java advertiser: Lunarpages Java Web Hosting

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

Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 19
Solved Threads: 200
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Exception in thread "main" java.lang.NoClassDefFoundError: Invaders Error

  #44  
Jul 27th, 2005
you should NEVER EVER put classes or jars from the JDK installation in your classpath.
It's not needed and can cause problems.

You SHOULD put the current directory ('.') in there or else pass it as a classpath to the java compiler and runtime always.

If you still get a NoClassDefFoundError you're missing something on your classpath, which will pretty much always be a library you need for some import or other.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:21 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC