Hello all,
I have a small helloworld program and try to run it on the command prompt.
public class Hello {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
i have my file in C:\test\Hello.java
C:\test>javac Hello
creates a class file in c:\test\Hello.class
but
c:\tets>java Hello gives me NoClassDefFoundError
I have set classpath,jre_home,JAVA_HOME,path all environmetal variables.
Is there anything missing?
My OS is windows7,
JDK 1.6
Please help me..
its urgent
thanks
selsium