Does the PATH variable have the path to the folder with the javac.exe file?
To view the contents of PATH, open a command prompt and enter: path
The full contents should show in the command prompt...