Skip to content
On this page

Java

Java

Installation

bash
brew cask install java
brew cask install temurin

Set JAVA_HOME path

bash
export JAVA_HOME="`/usr/libexec/java_home`"