AdpotOpenJDKはHomebrew Caskでインストールできる。
brew cask install adoptopenjdk
こんなかんじでインストールされる:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
ffsend gearsystem
==> Caveats
More versions are available in the AdoptOpenJDK tap:
https://github.com/AdoptOpenJDK/homebrew-openjdk
brew tap adoptopenjdk/openjdk
==> Satisfying dependencies
==> Downloading https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.2%2B9/OpenJDK11U-jdk_x64_mac_hotspot_11.0.2_9.tar.gz
Already downloaded: /Users/suin/Library/Caches/Homebrew/downloads/3c73c3d877c851df4fae9caa0e09c43740f7820435395e393c520aac1fc99d43--OpenJDK11U-jdk_x64_mac_hotspot_11.0.2_9.tar.gz
==> Verifying SHA-256 checksum for Cask 'adoptopenjdk'.
==> Installing Cask adoptopenjdk
==> Moving Generic Artifact 'jdk-11.0.2+9' to '/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk'.
Password: 【ここにMacのパスワードを入れる】
🍺 adoptopenjdk was successfully installed!