如何配置mac环境下的JAVA_HOME
echo 'export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/' >> ~/.bash_profile source ~/.bash_profile
echo 'export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/' >> ~/.bash_profile source ~/.bash_profile