JMETER-WINXP Installing JDK and Jmeter

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.