Right Click "My Computer"
Go to "Properties"
Go to "Advanced" tab
Click "Environment Variable" tab
under system variables select "path" variable and click edit button.
It will pop up a small window and only thing you need to do is to add full path to javac.exe file starting with a ; at the end of variable value field.
normally it would be like this
;C:\Program Files\Java\jdk1.6.0_13\bin\
After updating remember to click on "OK" button and again on "OK" button to take these new path variable effective.