The Path variable holds the names of folders that are searched if the file being executed is not in the default folder at the command prompt. For example, if all the batch files are in C:\BATCH ...
Today, you can download an installer that not only installs Java but also configures the PATH and JAVA_HOME environment variables. For example, with the Eclipse Temurin version of the JDK, setting ...