Installation & Configuration

You will need a Java runtime environment (JRE) to use Eclipse (Java SE 6 or greater is recommended).

  • Install the suitable Eclipse from USB Stick
    • eclipse-java-juno-SR2-win32.zip
    • eclipse-java-juno-SR2-win32-x86_64.zip
    • eclipse-java-juno-SR2-linux-gtk.tar.gz
    • eclipse-java-juno-SR2-macosx-cocoa-x86_64.tar.gz
    • eclipse-java-juno-SR2-macosx-cocoa.tar.gz
    Or install EGit from the update site

    Note
    The EGit plugin is already packaged into the Eclipse IDE for Java Developers (Juno)

  • Simply unpack the package, then launch the executable in the eclipse/ folder.
  • Note
    Git and EGit use the HOME folder to store user configuration into the ~/.gitconfig file

    Windows only
    You can set the HOME environment variable (if not set EGit will ask when you use EGit for the first time).
    If the HOME variable is not defined the home directory will be calculated by concatenating HOMEDRIVE and HOMEPATH.

  • Hint
    Git needs to know who (user & email) commits to a repository. Don’t worry: when EGit needs this information for the first time it will ask you.

    You also can set this information later
    • go to Window > Preferences > Team > Git > Configuration
    • Click New Entry and enter the key user.name
      Configuration - Set Name
    • Click New Entry and enter the key user.email
      Configuration - Set EMail
  • Download and unzip workspace.zip content
    Import all exercises with Import... > Existing Projects into Workspace
    Choose the EGit-Workshop/workspace folder (from USB stick)
    Close all projects
    Workspace
  • Take a quick look at
    • The preferences: Window > Preferences > Team > Git
    • The help: Help > Help Contents > EGit Documentation
    • The perspective: Window > Open perspective > Others ... > Git Repository Exploring
    • Views: Window > Show View > Others ... > Git