as it says that javac is not recognized as an internal or external command,which means that java s/w is not install on ur machine
first install that s/w and set the path where u install java
set path like type the following words on ur commant prompt
"set path=C:\Program Files\Java\jdk1.6.0_14\bin\"
the above is the path where java s/w is install on machine
and after dat u run ur program
