Forum : java interpreter error
Brief description  about Online courses   join in Online courses
View Akanksha  Sharma 's Profile

java interpreter error

after compilation I got this error for my file
Exception in thread "main" java.lang.NoClassdeffoundError :sample
I can't understand the actual prblm please help me out...
Is their any prblm with my path...
Asked by Akanksha Sharma | Jul 4, 2010 |  Reply now
Replies (1)
View arun kumar das 's Profile
Hi Akanksha,

There is no problem with path ,I think u are trying to run that class which not contain main method, so it is giving this exception.Always run the class that contain main method.

Java Teacher.


Jul 7, 2010