It means that javac.exe executable file, which exists in bin directory of JDK installation folder is not added to PATH environment variable . You need to add JAVA_HOME/bin folder in your machine’s PATH to solve this error. You cannot compile and run Java program until your add Java into your system’s PATH variable.
Read moreCan you use Java on a laptop?
If you want to program using Java, you’re going to need a Java Development Kit (JDK) and a Java Runtime Environment (JRE) in order to compile and run the code .15 Nis 2020
Read moreHow do I run a Java program?
How to run a java program
Read moreHow do I run Java once installed?
Once downloaded, install. in order to run Java from anywhere in your system, the files need to be added to your PATH variable in windows. To do this, go to ‘Control Panel ‘ -> ‘System’ -> the ‘Advanced system settings’ option on the left. Now under click ‘environment variables’ and then click edit on the PATH variable.
Read moreWhich app is best for Java programming in laptop?
13 Best Java IDEs
Read moreHow do I compile and run my first Java program?
Programming in Java.
Read more