| Author |
help for "noclassdefinitionerror"
|
sandeep atluri
Ranch Hand
Joined: Apr 19, 2007
Posts: 42
|
|
Hello all, i have compiled a .java file and its compiled but when i run it, it says that "noclassdefinitionfounderror" why do i keep getting this message.. please advice . urgent
|
Sandeep Atluri
|
 |
Sunny Jain
Ranch Hand
Joined: Jul 23, 2007
Posts: 433
|
|
|
JVM is not able to find out class for that source file, first check where the class was made when the source was compiled and check the classpath also while running the program, When the program runs it should look into the path where the class was made while compiling.
|
Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9947
|
|
|
can you post the FULL text of the error message? it should tell you WHAT class it can't find. This is probably a classpath issue, but how to resolve it may depend on what class you can't find, where it is, and where you are running java from...
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Petrus Pelser
Ranch Hand
Joined: Feb 20, 2006
Posts: 132
|
|
|
Have a look at PATH and CLASSPATH
|
 |
 |
|
|
subject: help for "noclassdefinitionerror"
|
|
|