Exception in thread "main" java.lang.NoClassDefFoundError
Exception in thread "main" java.lang.NoClassDefFoundError: First
caused by: java.lang.ClassNotFoundException: First
at java.net.URLClassLoader$1.run<Unknown Source>
at java.security.AccessContoller.doPrevileged<Native Method>
at java.net.URLClassLoader.findClass<Unknown Source>
at java.lang.ClassLoader.loadClass<Unknown Source>
at sum.misc.Launcher$AppClassLoader.loadClass<Unknown Source>
at java.lang.ClassLoader.loadClass<Unknown Source>
could not find the main class: First. program will exit.
this is the error showing when I am executing the program name as First
and I set
PATH
C:\Program Files\Java\jdk1.6.0_24\bin;.;
classpath
C:\Program Files\Java\jdk1.6.0_24\lib
but it is unable find the class file?? what is the problem??
Anybody please help me?