Install java
installation
Download the corresponding version of the system, I downloaded open the downloaded executable file for the Windows x64
Click Next.
Installation location on their own settings to see demand (in the future might use) When prompted to install the JRE, if necessary, all the way click Next
Configuration environment variable
First, right-click "This Computer -> Properties -> Advanced System Settings -> Environment Variables"
Second, under the "System Variables" toolbar, click "New"
1. New -> variable name: JAVA_HOME
variable value: D:\java\jdk-10.0.2
(i.e. JDK installation)
2. In the "System Variables" column to find Path
, select and click Edit
New - Fill %JAVA_HOME%\bin
another new - Fill%JAVA_HOME%\jre\bin
3. New -> variable name: CLASSPATH
variable value (Note that the 'point'): .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
4. Run the test consoles
In the console input, respectively java
, javac
, java -version
the command, there is, as shown configuration is successful,
java
javac
java -version
Installation Jmeter
1. After the download is complete extract the zip installation package
2. Double-start JMeter JMeter extraction path (apache-jmeter-4.0) bin to the following jmeter.bat
3. follows the successful launch