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

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

Join Date: Jun 2005
Posts: 14
Reputation: rpratt is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
rpratt rpratt is offline Offline
Newbie Poster

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

  #25  
Jun 10th, 2005
Originally Posted by server_crash
Yes. Actuallly, when you find the folder containing the source file(.java), you should notice the .class file is not in that same folder. If it is, then we have problems! Naturally it should be in the same folder as the source, but since your getting that error, let's hope it's not. If it is in the same folder, then we got some problems with the classpath which will be harder to fix.

I had the same problem as above, and I DO have the .class folder and the .java folder in the same place - in my C: drive. Also, I have the path pointing to the bin folder where the compiler in.

It compiled fine (created the .class folder), and now it won't run.
Please help!
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:07 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