How to install maven in windows 10

How to install maven in windows 10

1. First you need to download maven zip file. In here I used   apache maven 3.2.5 version with
JDK 1.7 on Windows 10.

2. Install JDK and  set “JAVA_HOME” variable in Windows environment variable.




3.Download apache maven from maven official website. Unzip the file to the folder where you want to install the maven.

 4.Add M2_HOME  variable in environment variables. Variable value should be the path to maven folder.


5.Update path variable and append maven bin folder.
D:\apache-maven-3.2.5\bin

6. Now need to make sure maven installed in to the machine correctly.
Type mvn -version in the command prompt.
If you got message like this everything installed successfully.


Comments

Popular Posts