@John Jai: Ya..i started out setting the environment variables using the same FAQ. When it did not work, i searched for the same in the forum and tried different things mentioned in them but, all in vain.
@Campbell Ritchie: Thanks
I read the remaining part and tried to compile and execute my first java program.
At the command prompt, i went to the directory where i have saved the MooseGreetings.java file, typed "javac MooseGreetings.java", and Entered. The file did not compile. I got the same reply that "JAVAC is not recognised as an internal or external command, operable program or batch file."
Interestingly a file called "JAVA" has been created by this in my 'src' directory instead of the required "MooseGreetings.class" file. I dont know what it does!
Further, i tried to execute it by using the "java -classpath . MooseGreetings" command although, i know it should be compiled first.. Then again its showing the same message as above.
What should i do?? Should i try uninstalling the application and then Re-install?