0
0

Linux下maven环境变量配置

2024-01-28
2024-10-11
文章摘要
|
sudo vim /etc/profile

sudo gedit /etc/profile

然后在末尾添加:

export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH

保存并退出,然后键入:

source /etc/profile

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或者给予支持!