Java

Installing Java on macOS

Homebrew

https://formulae.brew.sh/formula/openjdk

brew install openjdk

NOTE: the JDK directory to use (for example, in IntelliJ) is /usr/local/opt/openjdk/libexec/openjdk.jdk/Contents/Home

Amazon Corretto

https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html

JAVA_HOME is /Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home