- 装置 Java 及下载 Maven
-
sudo vim /etc/profile
# Java export JAVA_HOME=$(/usr/libexec/java_home) export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar # Maven export M2_HOME=/Users/xxx/Maven export PATH=$PATH:$M2_HOME/bin
- source /etc/profile