- Install homebrew packetmanagerpacket manager (https://brew.sh/)
- Execute following in terminal: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Install AdoptOpenJDK (https://github.com/AdoptOpenJDK/homebrew-openjdk):
- Execute following in terminal: brew cask install adoptopenjdk
brew install --cask adoptopenjdk
- Done.