Skip to content

Installations: GIT Java Maven Eclipse

michaelkain edited this page Mar 29, 2019 · 1 revision

GIT

Windows :

  1. Download Git at the following url : https://git-for-windows.github.io/
  2. Install the previously downloaded executable file. Note: Select your favorite options during the installation except for the line ending conversion. You must select option 1 like indicated in the picture below:

Linux (Ubuntu) :

  1. install Git using : sudo apt-get install git

JAVA 8 or later

Windows :

  • Update on Java 8, download latest version
    • Go to Oracle website and download Java SE
    • Java SE Development Kit 8 Downloads
    • Do the installation
    • Mac OS X: check existing versions on the machine:
      • /usr/libexec/java_home -X and see XML output
      • found in /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home

Linux (Ubuntu) :

$ sudo add-apt-repository ppa:webupd8team/java

$ sudo apt-get update

$ sudo apt-get install oracle-java8-installer Make sure Java is properly installed by running java -version from the command line $ java -version

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

MAVEN

Windows

1. Download the latest maven version Download the archive at http://maven.apache.org/download.cgi by choosing a Binary zip archive and copy it to a new folder (C:\Maven) 2. Extract it in the same directory. 3. Add the following system environment variables. According to the Java & Maven versions those paths can change

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121\jre

PATH=%PATH%;C:\Maven\apache-maven-3.3.9\bin 4. Make sure everything is ok. From the a new command line windows, run : mvn -version The output should looks like the following : C:\Users\username>mvn -version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)

Maven home: C:\Maven\apache-maven-3.3.9\bin..

Java version: 1.8.0_121, vendor: Oracle Corporation

Java home: C:\Program Files\Java\jdk1.8.0_121\jre

Default locale: fr_FR, platform encoding: Cp1252

OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

Linux (Ubuntu)

1. Download the latest maven version

sudo apt-get install maven 2. Make sure everything is ok. From the a new command line windows, run : mvn -version

The output should looks like the following :

$ mvn -version

Apache Maven 3.3.9

Maven home: /usr/share/maven

Java version: 1.8.0_121, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-8-oracle/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "linux", version: "4.4.0-31-generic", arch: "amd64", family: "unix"

Eclipse:

Clone this wiki locally