Enroll in Selenium Training

In the previous tutorial , we got to know about JMeter, its feature, importance and it's workflow. Since, JMeter is pure java application, you should have java installed your system. Therefore, before we download and start working on JMeter we will first go through this tutorials of How to Install Java on Mac OS?

If you already have Java in your system please make sure that it's version is either 8 or 9 as JMeter4.0 does not support Java 10 and Java 7 or it's prior versions.

How to Check Java Version on Mac & WIndows

To find out if Java is already there on your system or to check its version follow below steps below.

1.For MAC navigate to terminal press command + space. As soon as you press command + space Spotlight will appear.

spotlight

For Windows to navigate to Command Prompt press Window + R or go to Run.

2.For MAC type terminal in the spotlight and press Enter.

terminalOnSpotlight

For Windows type cmd and press Enter.

3. Type java -version on terminal and press Enter.

version

For Windows as well type java -version and press Enter on command prompt to check java version.

NOTE: When I write java -version on terminal or command prompt, java version 1.8.0_171 will return on terminal which signifies Java 8 is already there on my system.

How to Install Java on Mac OS?

If you do not have java on your system follow the steps below. We will download and install java on MAC OS.

If you wish to install java on Windows you may skip this tutorial and may refer our tutorial Install JDK on Windows and Set Environment Path on WindowsBut make sure that it's version is either 8 or 9 as JMeter4.0 does not support Java 10 and Java 7 or it's prior versions.

  1. Click here to download Java.

JAVA_SE

Note: Just be careful while clicking on download, as the you will also find the latest version of Java as well on the same page, but you are interested in only Java 8 for Jmeter 4 as on 4th July'18. May be later with new JMeter version, new Java version will be used.

  1. Accept License agreement and click jdk-8u171-macosx-x64.dmg

JDK_8

3. As you will click above mentioned file. A prompt at the bottom will appear saying "This type of file may harm your computer". Click Keep.

Java_Download

  1. Go to the downloads folder of your system and there will be jdk-8u171-macosx-x64.dmg. Double click jdk-8u171-macosx-x64.dmg file

downloads

  1. Java Development Kit prompt will appear, as it appear double click the icon to install JDK

DoubleClick

  1. After double click, Install JDK 8 Update window will appear as shown below. Click Continue

Continue

7. Click Install

install

  1. As soon you will click install, a window will appear as shown below. In the password field provide your system's password and click install software.

password

  1. Finally, when installation will complete The installation was completed successfully will appear on the window. Click Close

How to Install Java on Mac OS?

After performing the above installation steps Java must be there in your system. Please check if Java is successfully installed on your machine or not. You may follow the same steps as above that we followed to check if Java is already on your system.

If java version does not appear please go through the steps one by one once again.

Hereby, I assume that you have Java on your machines. In the next tutorial we will take a quick look on what's new in JMeter 4.0 and will download and launch JMeter on our machines.

Introduction to JMeter
Introduction to JMeter
Previous Article
How to Install JMeter?
How to Install JMeter?
Next Article
Lakshay Sharma
I’M LAKSHAY SHARMA AND I’M A FULL-STACK TEST AUTOMATION ENGINEER. Have passed 16 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire (CA), NHS (UK) & ASOS(UK). Currently, I am working with RABO Bank as a Chapter Lead QA. I am passionate about designing Automation Frameworks that follow OOPS concepts and Design patterns.
Reviewers
Virender Singh's Photo
Virender Singh

Similar Articles

Feedback