Maven setup on windows To set up Maven: Create a JAVA_HOME System Variable Create an M2_HOME System Variable Add %JAVA_HOME%\bin; %M2_HOME%\bin; to your System Path Step 1 : Download Binary zip archive from apache-maven-3.xxx-bin.zip. Extract it in your local system. Step 2: Open your system properties, to do that right click on “My Computer” –> click on “Properties” –> click on “Advanced System Settings”. Below window will pop-up. Click on “Environment Variables”. Step 3: Under User Variables click on “New..” –> Create a JAVA_HOME variable, follow below screen. Java home path is location of java installation in the system. Step 4: Under User Variables click on “New..” –> Create a MAVEN_HOME variable, follow below screen. Maven home path is location of maven installation(Extracted directory in Step 1). Step 5: Under System Variables click on “path..” –> click on “Edit” –> add java bin path to the path variable, follow below screen. In java bin is the standard directory name where jars or native libraries of the application available and it will be in home path. Step 6: Under System Variables click on “path..” –> click on “Edit” –> add maven bin path to the path variable, follow below screen. Now installation has completed. Testing Installation : Open new command line editor –>issue “mvn -version”. If installation success you can see below screen. Satish Varma2017-08-31T12:42:04+00:00Categories: Hibernate, JPA|Tags: hibernate, jpa, maven, maven installation|0 Comments Leave A Comment Cancel replyComment Save my name, email, and website in this browser for the next time I comment.