Maven is a lightweight distributed tool. Hence it does not have any specific hardware requirement.
Following are steps to install Maven on Windows platform.
- It is developed in JAVA language. Hence it will need Java Virtual machine installed as software requirement. To check that JVM is installed on your machine, run following command. It should print the JDK version on your machine. If it does not print, follow link to install JVM
C:\Users\guest>java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
2. Download Maven distribution package from here
3. Unzip the downloaded file into “c:/Program Files/ASF” directory.
4. Set environment variable M2_HOME that point to unzipped directory in step3, say “C:\Program Files\ASF\apache-maven-3.3.3\bin”
5. Modify environment variable named “PATH” to append %M2_HOME% as additional value.
6. To check that Maven is installed properly run following command to check maven version
>mvn -version