Problem:
Compiling the .java using MS-DOS gets an error with “javac” is not recognized as an internal or external command, operable program or batch file.
Solution:
To solve this error update the Path Variable by following the instruction below.
- Rigth click on My Computer and select Properties.
- Select Advanced Tab.
- Select Evironement Variables
- On the System variables group box find and select the Path then click edit button.
- Then add the location of the java bin usually located at “c:\Program Files\Java\jdk1.6.0_\bin\” by separating it with “;” without double quotes
