How to Setup/Install Maven Class path Variable on Windows
Step 1: Download apache maven from the link(binary) > Extract the .zip file in "C:\Program Files" directory.
Step 2: Open System Variable pop up (Right Click on My Computer > Properties > Click on Advanced System Settings > Click on Environment Variables
Step 3: In System Variable, Click on New > Add MAVEN_HOME variable
Step 4: Edit the Path variable, Click on Path > Click on Edit > Add the apache maven bin directory
Step 5 : Make sure you have JAVA_HOME variable correctly
Step 6 : Open Command Prompt as Administrator, run the following command to verify the maven installation: > mvn -version
If you sees the similar messages means maven is successfully installed on your windows machine.
No comments:
Post a Comment