![]() ![]() You should see something similar.Ģ.1: Add Maven to the Environment Path You need to add both M2_HOME and MAVEN_HOME variables to the Windows environment. Unzip it to the folder you like, mine is in Downloads. When the download is finished, unzip the file. Download the latest version, select the Maven zip file, for example, apache-maven-3.6.3-bin.zip. If you have done it correctly, you should see JAVA_Home under System variables.Ģ: Install Maven You can download Maven from the apache maven site. To go there, click on "Browe Directory" button and select the installation location and click on OK button Variable value: Go to the directory where you have installed java, mine is in C:\Program Files\Java. Click on the “Environment Variables” button ![]() Next, you will see the System Properties screen, as shown on the left. There are many ways to go to system environment variables, the easiest way is to search for “ environment variable” from the search bar as shown on the screenshot. Add JAVA JDK to your PATH environment variable. I'm using JDK version 11, thus you are seeing "11.0.10", your's might be different. If you don't have JDK installed and you are not seeing the above message or if you are getting an error message, no worries, you can download Java JDK from Oracle's download site. If you have Java JDK installed, you will see something like this: Install Java JDK if you do not have it To check if you already have java installed, open cmd or search for cmd. Here I'm going to show how to easily set up maven on your machine. Maven is a command-line tool for building java applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |