Installing the JDK
1. Download JDK, http://www.oracle.com/technetwork/java/javaee/downloads/index.html
2, install the JDK, the current my installation directory is C:\Program files\java\jdk1.6.0_10
3. Set environment variables (My Computer-Properties-advanced-environment variables)
(1) In the user variable (can also be in "System variables") New variable name "Java_home", the variable value is: You install the directory of the JDK locally.
Take this machine as an example set as follows:
Variable name: java_home
Variable Value: C:\Program files\java\jdk1.6.0_10
(2) The new variable is named "CLASSPATH" and the variable value is:
C:\Program Files\java\jdk1.6.0_10\lib\dt.jar;
C:\Program Files\java\jdk1.6.0_10\lib\tools.jar;
C:\ProgramFiles\Java\jdk1.6.0_10\bin
It is recommended that you write the value of the variable as a relative path:
%java_home%\lib\dt.jar;
%java_home%\lib\tools.jar;
%java_home%\bin;
(3) After the "Path" variable value of the system variable, add: "%java_home%\bin;"
4, run-->cmd--> input "Java", if you can see the help information stating that the JDK installation was successful.
Installing JMeter
1, download JMeter, http://jmeter.apache.org/download_jmeter.cgi
2, install JMeter, unzip apache-jmeter-2.11.zip to local (any directory can), such as I downloaded it to: "E:\Jmeter\apache-jmeter-2.11".
3. Setting Environment variables
(1) In the user variable (can also in "System variable") New variable name "Jmeter_home", the variable value is: "E:\Jmeter\apache-jmeter-2.11;".
(2) Modify the "CLASSPATH" and add the following content:
%jmeter_home%\lib\ext\apachejmeter_core.jar;
%jmeter_home%\lib\jorphan.jar;
%jmeter_home%\lib\logkit-2.0.jar
4, the way to run Jmeter is to open the E:\Jmeter\apache-jmeter-2.11\bin\jmeter.bat directly.
5, for the convenience of use, direct right button "Jmeter.bat" sent to the desktop shortcut.
Remarks: JMeter Help document Http://jmeter.apache.org/usermanual/index.html