mac 设置Tomcat的环境变量:
①输入touch .bash_profile ( pico .bash_profile 也行)
②打开 open -e .bash_profile(nano .bash_profile亦可)
③输入export PATH=$PATH:/Users/keso/Library/Tomcat8/bin
④更新配置的环境变量source .bash_profile
⑤验证是否成功,终端中输入$PATH
mac 设置Tomcat的环境变量:
①输入touch .bash_profile ( pico .bash_profile 也行)
②打开 open -e .bash_profile(nano .bash_profile亦可)
③输入export PATH=$PATH:/Users/keso/Library/Tomcat8/bin
④更新配置的环境变量source .bash_profile
⑤验证是否成功,终端中输入$PATH