Hi to every one I had the
java 1.6 version in my mechine
C:\>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
I written the following simple program.
class
Test {
public static void main(
String[] args)
{
System.out.println("Hello World!");
}
}
I saved this in the C:\ directory. I am able to compile this successfully but when I want try to run this I am getting the following exception.
Exception in
thread "main" java.lang.NoClassDefFoundError: Test
C:\>javac Test.java
C:\>java Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test
why I am getting this Exception at run time please send me the reply if any one had idea.
Thanks in advance.
Ishmayel.
