class example {
public static void main(string args []) {
Sysytem.out.printIn (This is a simple Java program....);
}
}
I am using Windows Vista Ultimate
I tried to rum this program in DOS shell......
Error 1 :Exception in thread "main" java.land.NoClassDefFoundError : example
I tried to remove it...by
>java -classpath.example
But, still I got an error..
Error 2 :Unrecognized option : -classpath.example
Could not create the Java virtual machine.
I am using jre1.5.0_06 and jdk1.5.0_06
Please help...ASAP
Thanks in advance