发布时间:2026-07-20阅读(1)
Mac OS X 安装Maven:
$ vi ~/.bash_profile
添加下列两行代码,之后保存并退出Vi:
export M2_HOME=/Users/robbie/apache-maven-3.3.3 export PATH=$PATH:$M2_HOME/bin

输入命令以使bash_profile生效
$ source ~/.bash_profile

Copyright © 2024 有趣生活 All Rights Reserve吉ICP备19000289号-5 TXT地图HTML地图XML地图