Quantcast
Channel: Crunchify
Viewing all articles
Browse latest Browse all 1037

How to Setup/Install Maven Classpath Variable on Windows

$
0
0

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.

One article became very popular on Crunchify Site which I wrote sometime back on How to Create Dynamic Web Project using Maven in Eclipse? You may want to take a look at that icon smile How to Setup/Install Maven Classpath Variable on Windows

In this tutorial I’ll show you on how to setup/install Maven in Windows 7. To run maven from command line in Windows you should have properly set JAVA_HOME, MAVEN_HOME & PATH environment variables.

Another must read:  How to Create Dynamic Web Project using Maven in Eclipse?

Steps:

1. Open System Variables Table.

Windows 7 Advanced Setting Option Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows Windows 7 Environment Variables Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows

2. Add MAVEN_HOME variable

Windows 7 Maven HOME Class path Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows

3. Update PATH variable

Windows 7 Maven Path Variable Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows

4. Make sure you have JAVA_HOME variable correctly

Windows 7 Setup Java HOME Correctly Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows

5. Open NEW Command Prompt windows and execute command: mvn -version

Windows 7 Maven Check Version Crunchify Tips How to Setup/Install Maven Classpath Variable on Windows

And you are all set. Enjoy and happy coding.

The post How to Setup/Install Maven Classpath Variable on Windows appeared first on Crunchify.
Author: Arpit Shah.


Viewing all articles
Browse latest Browse all 1037

Trending Articles