Answers for "mac set java 1.8"

0

change default java version mac

nano ~/.zshrc

export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0)
Posted by: Guest on November-10-2020
2

change java version

/usr/libexec/java_home -V  
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` //java 8
Posted by: Guest on October-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language