View Single Post
Compiles fine, yet cant execute
Old
  (#1)
Zacker
Project Leader, Lead Level Designer, Waypointer
 
Status: Offline
Posts: 337
Join Date: Mar 2004
Location: Denmark
Default Compiles fine, yet cant execute - 13-06-2004

My Java game compiles fine, but I get this error on run:

Exception in thread "main" java.lang.NoClassDefFoundError: Kamp
at Udforsk.<init>(Udforsk.java:11)
at Sted.<init>(Sted.java:17)
at ForgottenRealms.main(ForgottenRealms.java:29)
Press any key to continue...

Theese lines can be found respectively at the 3 line numbers:
Kamp kamp = new Kamp();
Udforsk udforsk = new Udforsk();
Sted sted = new Sted();

They have been there for weeks and I havent had any problems with them.
  
Reply With Quote