Installing Apache Maven on Windows.
- You need a Java Development Kit (JDK), the Java Runtime Environment (JRE) is not sufficient. Make sure that JAVA_HOME exists in your user variables or in the system variables and it is set to the location of your JDK, e.g. C:\Program Files\Java\jdk1.6.0 and that %JAVA_HOME%\bin is in your Path environment variable (see Fig. 1).
- Download Maven zip file and extract it, e.g. D:\soffy\maven\apache-maven-3.0.4.
- Add this Maven extracted location to the environment variables (see Fig. 1).
Fig. 1
Now test if you have configured the env. variables correct by typing mvn -version in the command prompt. If everything is ok you will see output like as in Fig. 2.
Fig. 2
If you are through upto this point then Congrats you have installed Maven successfully and ready to dive into the world of Maven.
No comments:
Post a Comment