Search code examples
javac

Javac is not being recognized even after setting the class path variable


My problem is that I have set the bin path in Class path variables. After that Command Prompt is recognizing "java" command but "javac" program is still not being recognized.


Solution

  • Make sure you are pointing to the "bin" directory of the jdk and NOT jre. Also, as Juned answered, you need to open a new command line after you update the environment variable in "PATH"