I followed all the steps and it went perfectly fine. I ran the 'java -version' command from command line and that gave proper results too. But when ever i run 'javac' i get the following error,
'javac' is not recognized as an operable program or batch file.