Skip to content

Instantly share code, notes, and snippets.

@wtrocki
Created January 2, 2020 17:05
Show Gist options
  • Save wtrocki/0f7a3bc7a85e7061dab38881377bbb59 to your computer and use it in GitHub Desktop.
Save wtrocki/0f7a3bc7a85e7061dab38881377bbb59 to your computer and use it in GitHub Desktop.
export JAVA_8_HOME='/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/'
export JAVA_8_HOME_GRAAL='/Library/Java/JavaVirtualMachines/graalvm-ce-java8-19.3.0/Contents/Home/'
export JAVA_11_HOME='/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk1/Contents/Home/'
alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java8graal='export JAVA_HOME=$JAVA_8_HOME_GRAAL'
alias java11='export JAVA_HOME=$JAVA_11_HOME'
# default
java8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment