Write down the steps how to compile and r How to set the class path in windows environment for JDK.un the .java program. code example
Example: set path in windows
set path=C:\Program Files\Java\jdk1.6.0_23\bin
set path=C:\Program Files\Java\jdk1.6.0_23\bin