N/APosted on - 06/27/2019
While trying to compile my program in command prompt I used the command javac and the system is not able to compile that code. The error comes as javac is not a recognized command. What should I do to solve this error?
Javac Is Not Recognized As An Internal Or External Command
If you encounter the message, Windows can’t find javac.
You can show the path where Javac exists. For example, you might have kept JDK to C: \ jdk1.8.0. In the order, then try executing this command: “C: \ jdk1.8.0 \ bin \ javac MyQuestion.java”.If you are doing this then, you must first enter your C: \ jdk1.8.0 \ bin \ Java (path) whenever you install or manage a program. To avoid this writing of code, set the PATH variables.
Class name, MyQuestion, only accepts if the advertising of the information is clearly requested.