From the course: Java 8+ Essential Training: Syntax and Structure

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install Java on OS X

Install Java on OS X - Java Tutorial

From the course: Java 8+ Essential Training: Syntax and Structure

Start my 1-month free trial

Install Java on OS X

- [Instructor] To follow along with this course you'll need to have installed the Java 9 Developer's Kit. You can download it by going to java.oracle.com and that will expand to a URL from which you can click on Java SE. From there click download under JDK, then scroll down to the section that displays all the different versions for the different operating systems. You'll need to accept the license agreement and then you can download the JDK for Mac OS. There's only one for 64 bit Mac. It's a DMG file that I've already downloaded to my desktop. Now, before I start the installation I'll show you that I already have one version of Java installed on this computer. I'll go to a terminal session and then I'll type Java -version and I see that I've installed 1.8 and a maintenance release of 1.21. I can also verify that I can use the Java compiler by typing JavaC -version and I see the same version. The Java Development Kit is installed in the following location. Under /library/Java. Under…

Contents