Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

i need help i get a no class def found error

843810Jan 23 2004 — edited Nov 8 2008
i am very new to java, and i am taking it as part of my computer science class for university, and here is my problem.

after i compile a program i get this error

java.lang.NoClassDefFoundError: C:\Sun\AppServer\bin\FoodItem/java
Exception in thread "main"
Tool completed with exit code 1

i dont' know what it means or how i can fix it, and i have installed and reinstalled the program several times, but that did not help, and i am very unsure what else i should do. and i am very stressed because i have an assignment to submit, in several days and i have nothing working.

i am running XP home, and i'm beginning to wonder if that has anything to do with why the program won't run.

my thanks in advance for any help from anyone

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2008
Added on Jan 23 2004
13 comments
445 views