What can I do when I keep receiving the error
\'javac\' is not recognized as an internal or external command, operable program or batch file
Step 4 (Update the PATH variable) of the JDK installation instructions explains what you should do to make it so that you can just type javac in the command prompt window.
javac