00Linux下maven环境变量配置2024-01-282024-10-11linuxLinux文章摘要| sudo vim /etc/profile 或 sudo gedit /etc/profile 然后在末尾添加: export MAVEN_HOME=/opt/maven export PATH=$MAVEN_HOME/bin:$PATH 保存并退出,然后键入: source /etc/profile 支持与分享如果这篇文章对你有帮助,欢迎分享给更多人或者给予支持!分享