Establecer Java Home SDK MacBook

//First install java sdk then
export JAVA_HOME=$(/usr/libexec/java_home)
Dead Dormouse