The installation of Apache Maven is a simple process of extracting the archive and adding the bin folder with the mvn command to the PATH.

Apache Maven 的安装是一个简单的过程，提取存档文件，并用‘ mvn’命令将‘ bin’文件夹添加到‘ PATH’中。

echo %JAVA_HOME% 

Adding to PATH: Add the unpacked distribution’s bin directory to your user PATH environment variable by opening up the system properties (WinKey + Pause), selecting the “Advanced” tab, and the “Environment Variables” button, then adding or selecting the PATH variable in the user variables with the value C:\Program Files\apache-maven-3.6.3\bin. The same dialog can be used to set JAVA_HOME to the location of your JDK, e.g. C:\Program Files\Java\jdk1.7.0_51

Last modification：August 25th, 2020 at 07:38 pm