Java home: C:\Program Files\Java\jdk1.8. Java version: 1.8.0_121, vendor: Oracle Corporation Now open a command prompt and run mvn –version command to verify installation and installed version. If running the command gives a result like the previous one, then the installation was successful, and we are now ready to use this tool. With this intention open a CMD and type the following command: mvn-v Maven running on Windows 10. You also need to add Apache maven bin location under systems PATH environment variable.Īlso appened c:\Apache\Maven\bin under Path environment variable.įinally, You have successfully installed Apache Maven on your Windows system. Now all that remains is to prove that everything is in order and Maven runs successfully. To open system properties type sysdm.cpl from run window.Īpache Maven required MAVEN_HOME and M2_HOME environment variable to set. If not already set, add this under system environment variables. Make sure you have set JAVA_HOME environment variable. At the writing time of this tutorial, Apache Maven 3.3.9 is the latest version available.įor this tutorial, I have downloaded apache-maven-3.3.9-bin.zip and extract its content under c:\Apache\Maven To download the latest version of Apache Maven, Visit its official website download page. So make sure your server fulfill requirements before installing Apache maven. Apache Maven 3.3 requires JDK 1.7 or above to execute. RequirementsĪpache Maven required Java Development Kit (JDK) to be installed on the system. To be able to execute the mvn command from the command prompt, open the environment variables editor one more time, search for the PATH environment variable, click on Edit and add the New entry: MAVEN.
![how to install maven windows how to install maven windows](https://betanews.com/wp-content/uploads/2013/06/install-win-81.jpg)
#How to install maven windows archive
This tutorial will help you to install Apache Maven on Windows system. Download Maven’s binary zip archive and extract it to the desired location. This is developing under Apache Foundation.
![how to install maven windows how to install maven windows](https://javapointers.com/wp-content/uploads/2014/04/environment-variables-270x300.png)
![how to install maven windows how to install maven windows](https://i.ytimg.com/vi/Jtj-0yhox5s/maxresdefault.jpg)
Apache Maven is a software project management and comprehension tool.