I want to install OpenJDK Java on Mac OSX and have it work alongside other JDK\'s since it is a newer release. Currently, I downloaded the tar.gz and placed it in my path b
To stay with a specific major release, activate the AdoptOpenJDK tap with brew tap and then install the desired version with brew cask install:
$ brew tap AdoptOpenJDK/openjdk
$ brew cask install
To install AdoptOpenJDK 14 with HotSpot, run:
$ brew tap AdoptOpenJDK/openjdk
$ brew cask install adoptopenjdk14