Oracle now force user to signup and accept the license agreement in the oracle website.
JDK 8 is still mostly used among java developer especially Android Developer.
Unfortunately, if we're on macOS there's a bad news that the homebrew community delete the entire JAVA/JDk cask and give replacement support to use AdoptOpenJDK
.
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8
brew cask install adoptopenjdk9
brew cask install adoptopenjdk10
brew cask install adoptopenjdk11
Thanks to:
- https://stackoverflow.com/a/32811065/3763032
- https://github.com/AdoptOpenJDK/homebrew-openjdk
- Homebrew/homebrew-cask-versions#7253
That's it!
#homebrew #macos #jdk #java #cask #setup #android-studio #android #gradlew
It's been while since I wrote this gist, looks like openjdk is used as cask now, instead of adoptopenjdk. Will check on it later @alouanemed