Hi, When I am running the program in CMD, it is not getting compiled. Please give me instructions how to compile the program from notepad and then execute it, For your kind information, I installed jdk7 on windows 8.
After installation jdk,you should have to set the path in command prompt.
set PATH=%PATH%;C:Program FilesJavajdk1.6.0_17in(address where the bin folder you kept). Then restart your computer.
It will set your path.