Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
OpenJDK 8 can be installed on Mac using the following commands.
:::python3
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
Other versions are also available. For more details, please refer to https://github.com/AdoptOpenJDK/homebrew-openjdk.