Error 1: jmeter is not an internal command
1. New environment variables
Variable name: JMETER_HOME
Variable value:location where jmeter is installed(such as: D:\othersoftware\jmeter\apache-jmeter-5.5)
2. Edit CLASSPATH(Separate with a semicolon when there are multiple CLASSPATHs)
CLASSPATH:%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar
3. Edit path(If there are multiple Paths, separate them with semicolons)
path: %JMETER_HOME%\bin, then click OK
Enter jmeter -v on the command line to display the version number and the configuration is successful
Error 2: the Java executable or version could not be found, Please check your Java installation
1. Install jdk
2. Configure environment variables
Add JAVA_HOME: JDK installation location
EDIT CLASSPATH: %JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
edit path: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
Save, Enter java -version on the command line to display the version number and the configuration is successful
Error 3: error: ‘findstr’ is not an internal or external command, nor a runnable program or batch file
Add: %SystemRoot%/system32;%SystemRoot%; to Path in the configuration environment
Save, Enter jmeter in cmd to start