dogsuf.blogg.se

Apache maven install windows
Apache maven install windows









apache maven install windows

Start the installer and go through the steps.Īfter the installation was successfully, from Windows Control Panel open System->Advanced system settings->Environment Variables. If the JDK is not install go to the JAVA download page and get the latest JDK.

apache maven install windows

Configure JDK and JAVA_HOME variable to Windows environment My location is: c:\tools\apache-maven-3.3.9. From Files sections chose 'Binary zip archive' option. Step1 - Download and unzip mavenįrom Apache Maven official download page download the latest version. zip archive, configure Windows path variable and you are ready to go. Press ⊞ Win + R, type cmd and press Enter to start a new command prompt.It's very simple to install Apache Maven on Windows. 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_HOME%\bin. Install Maven in Windowsĭownload Maven’s binary zip archive and extract it to the desired location. Environment variableĮdit Environment Variables: To create/update an environment variable ( JAVA_HOME, MAVEN_HOME, PATH, etc.) open the environment variables editor by pressing the ⊞ Win> keybutton to open the start menu and type in envi to search for “ Edit the system environment variables” or “ Edit environment variables for your account” links. Maven requires Java, so first of all it is required to install Java Development Kit (JDK) and set JAVA_HOME environment variable.ĭownload and install JDK if it hasn’t been done yet.Įnsure that the JAVA_HOME environment variable is set.

apache maven install windows

In this note i will show how to install Maven in Windows, set the MAVEN_HOME environment variable and add Maven to PATH.Ĭool Tip: How to find out a Java (JDK/JRE) version! Read more → Install JDK Maven requires Java and before installing Maven in Windows it needs to ensure that Java Development Kit (JDK) is installed and JAVA_HOME environment variable is set.Īs only this requirement is satisfied, you can download and install Maven. Apache Maven is a command-line tool for building and managing dependencies of Java-based applications.











Apache maven install windows