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

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

Join Date: Apr 2006
Posts: 6
Reputation: SRWenner is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
SRWenner SRWenner is offline Offline
Newbie Poster

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

  #51  
Apr 1st, 2006
Originally Posted by server_crash
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!

Hi, I'm a brand new newbie following this thread with great interest. I can run the "HelloWorldApp" just fine at the DOS command line; but, I want to learn to use NetBeans IDE. When I plug HelloWorldApp.java into NetBeans it compiles successfully into the same folder; however, when I try to run I get the above error message, followed by the encouragement "BUILD SUCCESSFUL" (no "HelloWorld" output, however). I've tried futzing around with the classpath stuff till I'm blue in the face! It can't be this hard! Any ideas?
Thanks
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:36 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