1. Install Java On Mac
  2. How To Download Java 1.8 On Mac

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 Windows. But make sure that it’s version is either 8 or 9 as JMeter4.0 does not support Java 10 and Java. Java is a runtime environment maintained by Oracle that you must install on your Mac to be able to run applications written using the Java programming language. Moreover, Java allows developers to make apps available on multiple operating systems at the same time because Java-based utilities.

If you would like to learn Java programming, the best way is by writing Java codes by yourself. To compile the Java codes then you need Java Development Kit (JDK). It can be Oracle JDK or OpenJDK. This post guides you how to install Oracle JDK 8 on Mac OS X 10.10 Yosemite. It should be also applicable for previous version of OS X such as OS X Maverick, Mountain Lion, and OS X Lion. At the time of this post written, the latest version of JDK is JDK 8 Update 25.

Basically I previously had written an article how to install Java SE 7 / JDK 7 on Mac OS X Lion. I just would like to rewrite on the newest version.

1. Download Oracle JDK 8 from Oracle website. You need to accept license agreement to be able to download the file. Make sure you select the Mac OS X x64 platform (jdk-8u25-macosx-x64.dmg).

2. Double-click the downloaded file ‘jdk-8u25-macosx-x64.dmg’ and follow the on-screen installation.

3. Once it is successfully installed, it is installed inside /Library/Java/JavaVirtualMachines folder.

How To Download Java 8 On Mac

Install Java On Mac

4. Verify that the system is now using JDK 8.

5. If you would like to uninstall JDK 8, simply remove the jdk1.8.0_25.jdk

How To Download Java 1.8 On Mac

Hopefully this tutorial helps you on installing JDK 8 / Java SE 8 on Mac OS X 10.10 Yosemite.