How to Setup Maven environment variables windows7
Step 1:
Open System variables
StartButton>RightClick on 'Computer'>Advanced system settings>Select 'Advanced'
Tab in System Properties>Environment Variables...>System variables.
Step 2:
Add MAVEN_HOME variable in System variables.
Click on NEW... button add follow like below.
variable name:MAVEN_HOME--------------------------------variable name.
variable value:D:\softwares\apachemaven3.1.1---------------location of maven home.
Step 3:
Update PATH variable.
variable name:PATH---------------------------------------------variable name.
variable value:----------------------------------------------------add; and maven bin location.
Step 4:
Add or Make sure you have JAVA_HOME variable correctly.
variable name:JAVA_HOME---------------------------------variabel name.
variable value:C:\Program Files\Java\jdk1.7.0_65--------location of java home.
Click on ok>apply>ok.
That is it.your maven is setup.
Step 5:
To test maven is installed, follow below command.
Open command prompt from start button and run 'mvn version' command.
You will get below info.
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013091
2+0530)
Maven hom_65, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_65\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"e:
D:\softwares\apachemaven3.1.1
Java version: 1.7.0
hi please comment.
ReplyDeleteOK.this is good blog
ReplyDeletegreat blog very helpful...keep it up buddy..
ReplyDeleteFantastic !!! Mind Blowing !!! Unbelivable !!!
ReplyDeleteEvadu article raste mind block ayyipoddo vade Prabhu gadu !!!
This comment has been removed by the author.
ReplyDeleteThank you guys.
ReplyDelete