On your terminal, execute this command all together:
echo "# Java environment variablesexport JAVA_HOME=$(/usr/libexec/java_home)export JDK_HOME=$(/usr/libexec/java_home)" >> ~/.bash_profile&&\source ~/.bash_profile
No comments:
Post a Comment