As Apache JMeter is a pure JAVA based open source tool, we need a compatible Java version to run Apache JMeter. So let's start with how to install Java. Check the below table which states which Java version has to be downloaded to make both JMeter and Java compatible.
|JMeter Version||Release Date||Java Version|
|Variable name||Variable value|
Make sure that the longish your-unique-entries do not contain any other references to another Java installation folder. Note that these environment variables are derived from the `root` environment variable JAVA_HOME. This makes it easy to update environment variables when updating the JDK. And don't delete any existing entries. Once it was done verify the java installation by going to command prompt and execute java-version. You can see the java was installed successfully.