视频中11min出现的几行代码以我的mac为例子
1.vim ~/.bash_profile
2.配置环境
Java_Home=/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home
export Java_Home
M2_HOME=/usr/local/apache-maven-3.8.6
export M2_HOME
3.
PATH=${PATH}:${JAVA_HOME}/bin:${M2_HOME}/bin
export PATH
4.
source .bash_profile