Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mac OSX commands
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
You can’t perform that action at this time.