javac is the compiler tool in java language which converts the java classes and interfaces in to bytecode class files. When you type javac in Windows command prompt, you might receive the following error
‘javac’ is not recognized as an internal or external command,
operable program or batch file.
This could be because the windows system is not able to find the javac tool. This can be resolved by specifying the javac path in path system environment variable. The environment variables section can be accessed using the Advanced System Settings.