Download and Install Apache Maven in Windows System | Set Environment Path of Maven into System
Maven is great project management tool that is used for build, Projects. Maven is based on POM (Project Object Model).
For use maven, we have to simply download zip file from Maven website and extract it in our system.
1. Download Maven Zip :
Now extract it anywhere you want to.2. Add into Environment Variable
Search for View Advanced System Setting on your Window system
- Click on Environment Variable
- Click on New button in System variables
- Set Variable name as MAVEN_HOME and Variable value as your Maven file location.
3. Add MAVEN_HOME to Path
Search for Path in System Variables, Click on Edit button and add %MAVEN_HOME%\bin.
4. Check for Maven installed successfully
Open new Command prompt (cmd) and type mvn -version
Here you can see Maven information.
If above process does not work, Restart your system after setting Environment variable.
We can also set Maven path temporarily in our System.
Open cmd and add following command :
SET PATH = "Your Maven Path"
Here you have to enter path till bin folder. Enter mvn -version for checking if path is set or not.
Comments
Post a Comment