.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
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
Re: Compiles fine, yet cant execute
Old
  (#2)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: Compiles fine, yet cant execute - 13-06-2004

There could be a problem inside one of those constructors? Java doesn't usually report problems explicitly within constructors.
  
Reply With Quote
Re: Compiles fine, yet cant execute
Old
  (#3)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Compiles fine, yet cant execute - 13-06-2004

Have you tried running it with the Java Debugger (jdb)?

botman
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com