Usually the error “A command is not recognized as an internal or external command” occurs when the particular program or executable file does not exist in the ...
In DOS and Windows, a command, such as Copy, Dir and Rename, that is always available to the user. Internal commands are executed by the command processors COMMAND.COM in DOS and CMD.EXE in Windows.
Here are the three easiest ways to fix Java’s “not recognized as an internal or external command” error: Install or reinstall Java and the JDK on your computer Add Java’s bin directory to the computer ...