Press enter to see results or esc to cancel.


javac is not recognized as an internal or external command, operable program or batch file

In this video I have shown how to add java to environment variables.
How to solve the error,

javac is not recognized as an internal or external command, operable program or batch file

Here is the steps,

  1. Right click on My Computer(This PC) and Click on Properties
  2. 2.1 Click on Advanced System settings.
    2.2 Open Tab Advanced
    2.3 Click on Environment Variables

  3. 3.1 Select the Variable Path in System Variables.
    3.1 Click on Edit

  4. 4.1 Add the path of jdk installed like this ‘;C:\Program Files\Java\jdk1.8.0_131\bin’. You should add ‘;’ in the beginning.
    4.2 Click ok

  5. Restart the CMD and try the JAVAC now. It should be working.


Comments

Leave a Comment