Open a command-line window, type "path" and check if "C:\Program Files\Java\jdk1.7.0_02\bin" is listed. If not try setting the path in that window (just to check if it works): "set path=C:\Program Files\Java\jdk1.7.0_02\bin\" and try running "javac" again.