I downloaded the Apache Jmeter file from their website and unzipped it. Now according to the instructions on the jmeter webpage, I just need to click on the “jmeter” file for it to open.
But when I do this, I am prompted to install some missing applications and if I cancel it, then it opens as a text file(which is not the way it is supposed to be).
[LEFT]JMeter is Java-based application it needs Java Runtime Environment (or better Development Kit - JDK) installed and properly configured. The easiest way to get it running is following next steps:
Download latest JDK from Oracle website (if your system allows - use 64-bit one)
Install it somewhere (it’s better of location doesn’t contain spaces or native characters, something like /opt/java would be great)
Same for JMeter. Download latest JMeter bundle and unzip it somewhere, i.e. /opt/jmeter
Open Windows Command Prompt
Type following in terminal:
JAVA_HOME=/opt/java && export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH && export PATH
cd /opt/jmeter/bin
./jmeter.sh
Explanation:
set environment variable called JAVA_HOME with value of /opt/java