You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


Provisioning a Macbook Pro

Installing either OpenJDK 11 or Oracle Java 8 is all that is required when working with Mac OS X Catalina.

There are two common ways to install OpenJDK on Mac OS X: Install with Homebrew, or install manually. Installing with Homebrew is by far the easiest.

The expected location for Java on Mac OS X is:

/Library/Java/JavaVirtualMachines/

If you plan to have more than one version of Java available on your system, then you will need a way to switch your environment between versions. One popular utility for doing this is jenv. Learn more at: https://www.jenv.be/

Install with Homebrew

However, since Incorta requires OpenJDK11, we need to instruct brew to locate and install the proper version.

1. Install Homebrew.

If not done already, install Homebrew and update:

brew update

2. Add Homebrew Taps

Taps are Homebrew registries. If not done already, add the casks tap:

brew tap homebrew/cask-versions

Then, add the tap for OpenJDK versions:

brew tap adoptopenjdk/openjdk

3. List the available JDK versions.

brew search jdk

Locate an appropriate JDK in the list. A good choice is adoptopenjdk11.

4. Check the cask details.

Be sure that the cask contains the version you need. In this example, the cask being checked is AdoptOpenJDK11:

brew cask info adoptopenjdk11

5. Install the JDK.

Here, AdoptOpenJDK11 is used as an example:

brew cask install adoptopenjdk11

6. Check your Java version.

java --version

Install Manually

You can also install OpenJDK manually, using the instructions in the OpenJDK download page.

Follow the instructions for downloading and installing OpenJDK for Mac OSX from https://adoptopenjdk.net/. For an easier installation, we recommend using the macOS PKG installer. Click the ‘Other Platforms’ button to find it.

After a manual installation, be sure to check your Java version with java --version.

© Incorta, Inc. All Rights Reserved.