new_comer
new_comer

Reputation: 49

How to solve Apache jmeter installing error?

I am truing jmeter latest version in windows 7 ultimate version 6.1.7601 . I have java 1.7.9.10, I added jdk to my system path, and added jre 7 also. [please click to see the error] https://i.sstatic.net/cWTky.png

Your help will be appreciated.

Upvotes: 0

Views: 1853

Answers (2)

Dmitri T
Dmitri T

Reputation: 168002

You need to add bin folder of your JDK or JRE to PATH so JMeter could find the existing Java installation. If you have just installed JRE - restart CMD process so it could pick up the relevant PATH entries.

Also make sure that java -version command reports you're sitting on JDK or JRE not earlier than 1.7

JMeter Installation

More information: How to Get Started With JMeter: Part 1 - Installation & Test Plans

Upvotes: 3

Naveen Kumar R B
Naveen Kumar R B

Reputation: 6398

set JAVA_HOME environment variable.

To install a release build, simply unzip the zip/tar file into the directory where you want JMeter to be installed. Provided that you have a JRE/JDK correctly installed and the JAVA_HOME environment variable set, there is nothing more for you to do.

Note: There can be problems (especially with client-server mode) if the directory path contains any spaces.

References:

  1. https://stackoverflow.com/a/6521412/2575259
  2. http://jmeter.apache.org/usermanual/get-started.html#install

Upvotes: -1

Related Questions