Skip to main content

How to Install Maven on windows

How to Install Maven on windows:


  1. Install Maven from http://maven.apache.org/download.html 
  2. Extract the "apache-maven-x.x.x-bin.zip" file.
  3. Open System Variable and add a new system variables name "MAVEN_HOME" with variable value "C:\Maven\apache-maven-3.0.4" Figure1.
  4. Then form System variables choose Path click on edit and add in variable value the path of the MAVEN bin "C:\Maven\apache-maven-3.0.4\bin". Figure2.
    Hint: If you don't find the Path in system variables then define a new one.
     
  5. Make Sure that :JAVA_HOME: exists in your system variables and it is set to the location of your JDK, "e.g. C:\Program Files\Java\jdk1.7.0_05".Figure3.
    Hint:you can install Java JDk from this link: http://www.oracle.com/technetwork/java/javase/downloads/index.html 
  6. Open a new command prompt (Winkey + R then type cmd).
  7. Run the following line: mvn --version to verify that it is correctly installed.
  8.  If you got the following lines as in Figure 4 then you installed it successfully 
    Apache Maven 3.0.4 (r1232337; 2012-01-17 10:44:56+0200)
    Maven home: C:\Maven\apache-maven-3.0.4\bin\..
    Java version: 1.7.0_05, vendor: Oracle Corporation
    Java home: C:\Program Files\Java\jdk1.7.0_05\jre
    Default locale: en_US, platform encoding: Cp1252
    OS name: "windows server 2008", version: "6.0", arch: "x86", family: "windows"

    Figure 1 Add MAVEN_HOME

    Figure2 Add MAVEN bin path to Path of the system variables

    Add JDK to JAVA_HOME
    Install MAVEN successfully

Comments

Popular posts from this blog

Cli.java won't compile in jahmm Problem: When you compile Cli.class in terminal or Eclipse, you may get the following error: Cli.java:27: package be.ac.ulg.montefiore.run.jahmm.io does not exist import be.ac.ulg.montefiore.run.jahmm.io.FileFormatException; ^ Cli.java:54: cannot find symbol symbol : class AbnormalTerminationException 9 more errors Solution: You must to pass parameters to your class. The class takes 5 parameters which are: Parameter 1: should be one of the following: create:  creates a new HMM description file, print:  prints a HMM learn-kmeans:   applies the k-Means algorithm learn-bw:  applies the Baum-Welch algorithm generate:    generates an observation sequence given a HMM distance-kl:    computes the distance between two HMMs Parameter 2: -opdf. It takes one of the following: -r: argument describes that HMM will take 4 integers. For example, -r 4 means that HMM takes ...

Merge & Split PDF Files

The following Tools allow you to do many functions on PDF files. In this post we will concern with Merging and Splitting PDF Files. The following too ls are ordered from Free to Trial versions: 1. Icecream Split&Merge Icecream Split&Merge, a free application that does exactly what it says; enables you split and merge PDF files quickly and easily. (Free) URL: http://icecreamapps.com/PDF-Split-and-Merge/ 2. PDFSAM PDF Split and Merge is an easy-to-use tool with graphical and command line interfaces to spit, merge, mix, and rotate your PDF documents. (FREE) URL: http://www.pdfsam.org/download/ 3. SODAPDF SODAPDF tools provide many methods such as combining different file types into one PDF and splitting PDFs. It also merge different PDFs into a large one. (FREE) You can merge your PDFs through: CREATE & CONVERT > Combine Files OR split your PDF through: CREATE & CONVERT > Batch Files You can also merge ...

Save any Page using Microsoft Edge

Do you want to save a page using Microsoft Edge and you couldn't achieve that? Well, it's simple and easy just do the following steps: 1.Open your Edge browser. 2.Open any web page. 3.Press Ctrl+P or Right click > Print 4. The Printer Dialog will be opened. 5. Choose From Printer Drop Down List "Microsoft Print to PDF". 6. Press Print. 7. The "Save Print Outout As" Dialog will be appeared. 8. Write your File name. 9. Click on Save.