Now I have reinstalled the JDK. Now, if I run the command "java -version" the following message appears:
java version "1.6.0_04"
Java(TM) SE Runtime Envinronment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
If I run "javac -version" the following message appears:
javac 1.6.0_04
Now I am able to compile the HelloWorldApp.java and create the HelloWorldApp.class. But if I run the command "java HelloWorldApp" from the directory where the HellowWorldApp.class exist, I get the following message:
Exception in
thread "main" java.lang.noClassDefFoundError C:\temp\HelloWorldApp
Caused by: java.lang.ClassNotFoundException.............
................................
................................
But I am very sure that the HelloWorldApp.class is in C:temp
Any help is very much appreciated.
Thank you.