মঙ্গলবার, ৯ অক্টোবর, ২০১২

Apache Maven installation (Part 1)


Windows 7/Xp:

Apache maven does not have any service component for windows. You have to download Maven zip file and extract it and configure windows environmental path variable. You can install maven in windows to follow below steps:


1. First you have to install JDK. You can download latest JDK following url: JDK download link

2. Add a “JAVA_HOME” into windows environment variable and give JDK path  that you installed. Usually JDK is installed following windows path: C:\Program Files\Java\jdk1.6.0_30. 




3. Now download Apache Maven for this link. Maven download link

You can download latest Apache Maven zip file from this official website. e.g apache-maven-2.2.1-bin.zip.

4. Extract that downloaded zip file in any location path. Example: F:\maven

5. Now add “MAVEN_HOME” into windows environment variable and give maven path.

6. Add maven bin folder into windows environment variable. Now you can access Maven command in every location path of our windows. 

7.  DONE!! Maven is installed on your windows machine. Now you have to verify it. Go to Windows command prompt and type this command: “mvn -version”


C:\Users\adib>mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0600)
Java version: 1.6.0_30
Java home: C:\Program Files\Java\jdk1.6.0_30\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"

If you see following message that means Maven is successfully installed on your Windows.

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন