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 - Java Tutorial
From the course: Java 11+ Essential Training
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
-
-
-
-
(Locked)
Install the JDK on Windows4m 2s
-
(Locked)
Install the JDK on macOS2m 42s
-
(Locked)
Install and configure IntelliJ IDEA3m 27s
-
(Locked)
Test simple Java code in JShell4m 36s
-
(Locked)
Compile Java code to bytecode3m 42s
-
Pass arguments to a console application3m 16s
-
(Locked)
Use the Java API documentation2m 43s
-
(Locked)
-
-
-
-
-
-
-
-