Java version: 1.7.0_79, vendor: Oracle Corporation Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.3.9\bin\. In final step, verify the Apache Maven installation, simply execute the following commands in the Command Prompt window: mvn -version Note: Remember to put a semicolon character as delimiter to separate the Maven bin path with other paths. Open the Environment Variables dialog box, under System Variables, add Maven bin folder C:\Program Files\Apache Software Foundation\apache-maven-3.3.9\bin to the Path variable. Install Maven 3ĭownload Apache Maven 3 binary ZIP file (For example, apache-maven-3.3.9-bin.zip) from Apache Maven download page and extract it to C:\Program Files\Apache Software Foundation directory. Read Also: Setting the JAVA_HOME and PATH Environment Variables on Windows 7 3. Use command echo %JAVA_HOME% to verify the JAVA_HOME is configured correctly. Maven requires JAVA_HOME to be configured in order to work properly. Set the JAVA_HOME in environment variables. Maven 3.0 and 3.1 requires JDK 1.5 or later.Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_79-b15) If you already have JDK installed on your Windows, use Java command java -version in command prompt window to verify the JDK installed version is required by Maven. You need to install JDK (But not JRE) on your Windows before start the Apache Maven 3 installation. In this tutorial, we’ll walks you through the steps to install and setup Apache Maven 3 on Microsoft Windows operating system. Apache Maven 3 installation is a straightforward process for beginner. Apache Maven is a popular automation build tool and mainly used for Java development projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |