From the course: Java 11+ Essential Training

Unlock the full course today

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

Install the JDK on macOS

Install the JDK on macOS - Java Tutorial

From the course: Java 11+ Essential Training

Start my 1-month free trial

Install the JDK on macOS

- To install the Java development kit on MacOS, you need to download the appropriate archive file, extract it and then copy the files to the appropriate location. There are a couple of ways to get the files. First find out whether you already have Java installed on your computer. Go to a terminal window and type Java-version. If you have Java installed, you'll see output that indicates which version, but if you don't, you'll see this dialogue pop up, and from here, you can click the more info button. That'll take you to Oracle's downloads page. This is where you get the Oracle distribution of Java SE, also known sometimes as Oracle JDK. Beware though; the license for Oracle JDK is restricted. You can use this distribution for development and testing, but as soon as you get into production, you might have to pay license fees. That's for you and your organization to explore. But for this course, I instead recommend using the…

Contents