Skip to content

Instantly share code, notes, and snippets.

@yohanesgultom
Last active July 26, 2017 12:01
Show Gist options
  • Save yohanesgultom/16a9349ac3b19ce2ce25fc73b10bcd80 to your computer and use it in GitHub Desktop.
Save yohanesgultom/16a9349ac3b19ce2ce25fc73b10bcd80 to your computer and use it in GitHub Desktop.
Mac OSX commands
# list all jdk version(s)
/usr/libexec/java_home -V
# set default jdk
export JAVA_HOME=`/usr/libexec/java_home -v 1.7.0_80`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment