Skip to content

Instantly share code, notes, and snippets.

@xhsdnn
Created May 15, 2018 01:57
Show Gist options
  • Save xhsdnn/203ae7a2868e1763707642698bfd3048 to your computer and use it in GitHub Desktop.
Save xhsdnn/203ae7a2868e1763707642698bfd3048 to your computer and use it in GitHub Desktop.
vi ~/.bash_profile
export JAVA_8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
export JAVA_9_HOME=/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
export JAVA_HOME=$JAVA_8_HOME
source ~/.bash-profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment