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:
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/
However, since Incorta requires OpenJDK11, we need to instruct brew to locate and install the proper version.
If not done already, install Homebrew and update:
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
brew search jdk
Locate an appropriate JDK in the list. A good choice is adoptopenjdk11.
Be sure that the cask contains the version you need. In this example, the cask being checked is AdoptOpenJDK11:
brew cask info adoptopenjdk11
Here, AdoptOpenJDK11 is used as an example:
brew cask install adoptopenjdk11
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