Delete comment from: Java67
javin paul said...
You set PATH enviornment variable to type command in the command prompt like cmd on Windows or shell on Linux. When you type something on command prompt, OS search for it in PATH enviornment variable. For example, if you have java.exe in PATH then when you type java on command prompt, it will execute that executable. This is required to run any java application hence you set path.
Aug 6, 2020, 8:17:44 AM
Posted to What is PATH and CLASSPATH in Java? Path vs ClassPath Example