8 May 2015CPOL
This guide explains how to install the Eclipse IDE on Windows, OS X, or Linux.
Geocentric, Heliocentric & Ptolemaic Models of the Universe. Plus, get practice tests, quizzes, and personalized coaching to help you succeed. Plato and Aristotle tried to explain the.
This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers
Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.
Overview
The Intel® IoT Developer Kit lets you create and test applications on Intel® IoT platforms. It helps you write applications in C and C++ languages and provides two libraries, specially designed for Intel IoT Developer Kit:
- MRAA is a low-level library that offers a translation from the general purpose input/output (GPIO) interfaces to the pins available on Intel® Galileo and Intel® Edison boards.
- UPM is a repository of sensors written in C++ and uses the MRAA library.
This guide explains how to install the Eclipse IDE on Windows*, OS X*, or Linux*.
Requirements
- You have obtained the IP address for your platform. To obtain your IP address, refer to the corresponding document for your platform:
For Intel Galileo Users:
Program an SD with the Yocto Linux Image by going to the Programming a Blank SD card with a Yocto Linux Image instructions for Windows, OS X, and Linux. Due to the limited storage space onboard the Galileo, you need to run Yocto off of the SD card to use the libraries needed to work with the Eclipse IDE.
- Eclipse depends on a Java* Runtime Engine (JRE) to execute. If you don’t have JRE installed, you will see a message similar to this one:
If you see this message, install JRE or a Java Development Kit (JDK). You can download either from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/index.html.
Install the 64-bit JRE or JDK (indicated by x64 in the download name) — not the 32-bit (x86) version.
Install the Intel® IoT Developer Kit version of Eclipse
- Windows:
7-Zip supports extended path names, which some files in the compressed file have, so only use 7-Zip software to extract the installer file.- Install 7Zip (Windows only)
- Download the 7-Zip software from http://www.7-zip.org/download.html.
- Right-click on the downloaded executable and select Run as administrator.
- Click Next and follow the instructions in the installation wizard (Figure 1).
- Download the Eclipse IDE installer file for Windows.
- Using 7zip, extract the installer file. Right-click the installer file and select Extract here.
- Install 7Zip (Windows only)
![For For](/uploads/1/2/5/8/125878614/493872507.png)
- Linux:
- Download the Eclipse IDE installer file for Linux.
- Extract the installer file.
- OS X:
- Download the Eclipse IDE installer file for OS X. Extract the installer file, as follows:
- Open a new Terminal window.
- Navigate to the directory that contains
iotdk-ide-mac.tar.bz2
. - Type
tar -jxvf iotdk-ide-mac.tar.bz2
to extract the tar.bz2 file.
- Download the Eclipse IDE installer file for OS X. Extract the installer file, as follows:
Note: If you see a message that says 'devkit-launcher can’t be opened because it is from an unidentified developer', right-click the file and select Open with. Select the Terminal app. In the dialog box that opens, click Open.
Launch Eclipse
- Once the file is extracted, navigate to the directory you created in the steps above: iotdk-ide-win, iotdk-ide-linux, or iotdk-ide-mac.
- Double-click
devkit-launcher.bat
to launch the Eclipse* integrated development environment (Figure 2).
Note: Using the batch file (instead of the Eclipse executable) will launch Eclipse with all the necessary environment settings. Use
devkit-launcher.bat
to launch Eclipse every time.Figure 2 - Eclipse integrated development environment
Next Steps
Troubleshooting
- If you have any issues or questions, visit the Intel IoT Forum to post your questions and look for solutions.
Resources
Start inventing today with the Intel® IoT Developer Program which offers knowledge, tools, kits and a community of experts to quickly and easily turn your innovative ideas into IoT Solutions.
Dream it, Build it with the Intel® IoT Developer Kit for Intel® Edison and Intel® Galileo platforms. These kits are versatile, performance-optimized and fully integrated end-to-end IoT solutions supporting a variety of programming environments, tools, security, cloud connectivity and hardware.
For more resources and to learn how the new Intel® IoT Developer Kit v1.0 can help streamline your IoT projects:
- Download the Intel® IoT Developer Kit
- Visit the Intel® Developer Zone for IoT
- Attend one of our Roadshows for hands-on training in creating your own IoT projects
- Navigation
- Main Page
- Community portal
- Current events
- Recent changes
- Random page
- Help
- Toolbox
- Page information
- Permanent link
- Printable version
- Special pages
- Related changes
- What links here
- FAQ
EGit |
Website |
Download |
Community |
Mailing List • Forums • IRC • mattermost |
Bugzilla |
Open • Help Wanted • Bug Day |
Contribute |
Browse Source • Project Set File |
- 5Where can I find older releases of EGit?
- 9How compatible is EGit with Git?
- 9.4SSH config
Git is a distributed SCM/VCS, which means every developer has a full copy of all history of every revision of the code, making queries against the history very fast and versatile. The EGit project is implementing Eclipse tooling on top of a Java implementation of Git.
JGit is a EDL/BSD licensed, lightweight, pure Java library implementing the Git version control file access routines, network protocols, and core version control algorithms.
EGit is an EPL licensed Eclipse Team provider for Git, built on top of JGit.
You can find the latest changes for EGit and JGit below:
It's recommended to use the latest released version of EGit, which is always available in this p2 repository (update site): https://download.eclipse.org/egit/updatesIn case you need an older version, try an older repository, the following table lists the stable URL of all released EGit p2 repositories.
Note: open the p2 repository URL from the Eclipse installation wizard (Help > Install New Software) and add it as a new 'Software Site'. You may use thep2 browser to inspect the content of a p2 repository.
https://download.eclipse.org/egit/updates always contains the latest release (marked with green background)
Release Version | Release Date | p2 repository URL | browse p2 repository | download p2 repository |
---|---|---|---|---|
5.6.0.201912101111-r | 2019-12-18 | https://download.eclipse.org/egit/updates-5.6 | updates-5.6 | 5.6.0.201912101111-r |
5.5.1.201910021850-r | 2019-10-04 | https://download.eclipse.org/egit/updates-5.5.1 | updates-5.5.1 | 5.5.1.201910021850-r |
5.5.0.201909110433-r | 2019-09-18 | https://download.eclipse.org/egit/updates-5.5 | updates-5.5 | 5.5.0.201909110433-r |
5.4.2.201908231537-r | 2019-08-23 | https://download.eclipse.org/egit/updates-5.4.2 | updates-5.4.2 | 5.4.2.201908231537-r |
5.4.0.201906121030-r | 2019-06-19 | https://download.eclipse.org/egit/updates-5.4 | updates-5.4 | 5.4.0.201906121030-r |
5.3.0.201903130848-r | 2019-03-20 | https://download.eclipse.org/egit/updates-5.3 | updates-5.3 | 5.3.0.201903130848-r |
5.2.0.201812061821-r | 2018-12-19 | https://download.eclipse.org/egit/updates-5.2 | updates-5.2 | 5.2.0.201812061821-r |
5.1.1.201809181055-r | 2018-09-19 | https://download.eclipse.org/egit/updates-5.1.1 | updates-5.1.1 | 5.1.1.201809181055-r |
5.1.0.201809111528-r | 2018-09-19 | https://download.eclipse.org/egit/updates-5.1 | updates-5.1 | 5.1.0.201809111528-r |
5.0.3.201809091024-r | 2018-09-09 | https://download.eclipse.org/egit/updates-5.0.3 | updates-5.0.3 | 5.0.3.201809091024-r |
5.0.2.201807311906-r | 2018-07-31 | https://download.eclipse.org/egit/updates-5.0.2 | updates-5.0.2 | 5.0.2.201807311906-r |
5.0.1.201806211838-r | 2018-06-22 | https://download.eclipse.org/egit/updates-5.0.1 | updates-5.0.1 | 5.0.1.201806211838-r |
5.0.0.201806131550-r | 2018-06-27 | https://download.eclipse.org/egit/updates-5.0 | updates-5.0 | 5.0.0.201806131550-r |
4.11.0.201803080745-r | 2018-03-08 | https://download.eclipse.org/egit/updates-4.11 | updates-4.11 | 4.11.0.201803080745-r |
4.10.0.201712302008-r | 2017-12-30 | https://download.eclipse.org/egit/updates-4.10 | updates-4.10 | 4.10.0.201712302008-r |
4.9.2.201712150930-r | 2017-12-15 | https://download.eclipse.org/egit/updates-4.9.2 | updates-4.9.2 | 4.9.2.201712150930-r |
4.9.1.201712030800-r | 2017-12-03 | https://download.eclipse.org/egit/updates-4.9.1 | updates-4.9.1 | 4.9.1.201712030800-r |
4.9.0.201710071750-r | 2017-10-04 | https://download.eclipse.org/egit/updates-4.9 | updates-4.9 | 4.9.0.201710071750-r |
4.8.0.201706111038-r | 2017-06-28 | https://download.eclipse.org/egit/updates-4.8 | updates-4.8 | 4.8.0.201706111038-r |
4.7.1.201706071930-r | 2017-04-05 | https://download.eclipse.org/egit/updates-4.7.1 | updates-4.7.1 | 4.7.1.201706071930-r |
4.7.0.201704051617-r | 2017-04-05 | https://download.eclipse.org/egit/updates-4.7 | updates-4.7 | 4.7.0.201704051617-r |
4.6.1.201703071140-r | 2017-03-08 | https://download.eclipse.org/egit/updates-4.6.1 | updates-4.6.1 | 4.6.1.201703071140-r |
4.6.0.201612231935-r | 2016-12-23 | https://download.eclipse.org/egit/updates-4.6 | updates-4.6 | 4.6.0.201612231935-r |
4.5.0.201609210915-r | 2016-09-21 | https://download.eclipse.org/egit/updates-4.5 | updates-4.5 | 4.5.0.201609210915-r |
4.4.1.201607150455-r | 2016-07-15 | https://download.eclipse.org/egit/updates-4.4.1 | updates-4.4.1 | 4.4.1.201607150455-r |
4.4.0.201606070830-r | 2016-06-22 | https://download.eclipse.org/egit/updates-4.4 | updates-4.4 | 4.4.0.201606070830-r |
4.3.1.201605051710-r | 2016-05-05 | https://download.eclipse.org/egit/updates-4.3.1 | updates-4.3.1 | 4.3.1.201605051710-r |
4.3.0.201604071810-r | 2016-04-06 | https://download.eclipse.org/egit/updates-4.3 | updates-4.3 | 4.3.0.201604071810-r |
4.2.0.201601211800-r | 2016-01-21 | https://download.eclipse.org/egit/updates-4.2 | updates-4.2 | 4.2.0.201601211800-r |
4.1.1.201511131810-r | 2015-11-13 | https://download.eclipse.org/egit/updates-4.1.1 | updates-4.1.1 | 4.1.1.201511131810-r |
4.1.0.201509280440-r | 2015-09-28 | https://download.eclipse.org/egit/updates-4.1 | updates-4.1 | 4.1.0.201509280440-r |
4.0.3.201509231615-r | 2015-09-23 | https://download.eclipse.org/egit/updates-4.0.3 | updates-4.0.3 | 4.0.3.201509231615-r |
4.0.2.201509141540-r | 2015-09-14 | https://download.eclipse.org/egit/updates-4.0.2 | updates-4.0.2 | 4.0.2.201509141540-r |
4.0.1.201506240215-r | 2015-06-24 | https://download.eclipse.org/egit/updates-4.0.1 | updates-4.0.1 | 4.0.1.201506240215-r |
4.0.0.201506090130-r | 2015-06-24 | https://download.eclipse.org/egit/updates-4.0 | updates-4.0 | 4.0.0.201506090130-r |
3.7.1.201504261725-r | 2015-04-26 | https://download.eclipse.org/egit/updates-3.7.1 | updates-3.7.1 | 3.7.1.201504261725-r |
3.7.0.201502260915-r | 2015-02-22 | https://download.eclipse.org/egit/updates-3.7 | updates-3.7 | 3.7.0.201502260915-r |
3.6.2.201501210735-r | 2015-01-21 | https://download.eclipse.org/egit/updates-3.6.2 | updates-3.6.2 | 3.6.2.201501210735-r |
3.6.1.201501031845-r | 2015-01-03 | https://download.eclipse.org/egit/updates-3.6.1 | updates-3.6.1 | 3.6.1.201501031845-r |
3.6.0.201412230720-r | 2014-12-23 | https://download.eclipse.org/egit/updates-3.6 | updates-3.6 | 3.6.0.201412230720-r |
3.5.3.201412180710-r | 2014-12-19 | https://download.eclipse.org/egit/updates-3.5.3 | updates-3.5.3 | 3.5.3.201412180710-r |
3.5.2.201411120430-r | 2014-11-12 | https://download.eclipse.org/egit/updates-3.5.2 | updates-3.5.2 | 3.5.2.201411120430-r |
3.5.1.201410131835-r | 2014-10-14 | https://download.eclipse.org/egit/updates-3.5.1 | updates-3.5.1 | 3.5.1.201410131835-r |
3.5.0.201409260305-r | 2014-09-24 | https://download.eclipse.org/egit/updates-3.5 | updates-3.5 | 3.5.0.201409260305-r |
3.4.2.201412180340-r | 2014-12-19 | https://download.eclipse.org/egit/updates-3.4.2 | updates-3.4.2 | 3.4.2.201412180340-r |
3.4.1.201406201815-r | 2014-06-23 | https://download.eclipse.org/egit/updates-3.4.1 | updates-3.4.1 | 3.4.1.201406201815-r |
3.4.0.201406110918-r | 2014-06-18 | https://download.eclipse.org/egit/updates-3.4 | updates-3.4 | 3.4.0.201406110918-r |
3.3.2.201404171909-r | 2014-04-17 | https://download.eclipse.org/egit/updates-3.3.2 | updates-3.3.2 | 3.3.2.201404171909-r |
3.3.1.201403241930-r | 2014-03-25 | https://archive.eclipse.org/egit/updates-3.3.1 | updates-3.3.1 | 3.3.1.201403241930-r |
3.3.0.201403021825-r | 2014-02-28 | https://archive.eclipse.org/egit/updates-3.3 | updates-3.3 | 3.3.0.201403021825-r |
3.2.0.201312181205-r | 2013-12-18 | https://archive.eclipse.org/egit/updates-3.2 | updates-3.2 | 3.2.0.201312181205-r |
3.1.0.201310021548-r | 2013-10-02 | https://archive.eclipse.org/egit/updates-3.1 | updates-3.1 | 3.1.0.201310021548-r |
3.0.3.201309161630-r | 2013-09-17 | https://archive.eclipse.org/egit/updates-3.0.3 | updates-3.0.3 | 3.0.3.201309161630-r |
3.0.1.201307141637-r | 2013-07-15 | https://archive.eclipse.org/egit/updates-3.0.1 | updates-3.0.1 | 3.0.1.201307141637-r |
3.0.0.201306101825-r | 2013-06-26 | https://archive.eclipse.org/egit/updates-3.0 | updates-3.0 | 3.0.0.201306101825-r |
2.3.1.201302201838-r | 2013-03-01 | https://archive.eclipse.org/egit/updates-2.3 | updates-2.3 | 2.3.1.201302201838-r |
2.2.0.201212191850-r | 2012-12-20 | https://archive.eclipse.org/egit/updates-2.2 | updates-2.2 | 2.2.0.201212191850-r |
2.1.0.201209190230-r | 2012-09-26 | https://archive.eclipse.org/egit/updates-2.1 | updates-2.1 | 2.1.0.201209190230-r |
2.0.0.201206130900-r | 2012-06-27 | https://archive.eclipse.org/egit/updates-2.0 | updates-2.0 | 2.0.0.201206130900-r |
1.3.0.201202151440-r | 2012-02-17 | https://archive.eclipse.org/egit/updates-1.3 | updates-1.3 | 1.3.0.201202151440-r |
1.2.0.201112221803-r | 2011-12-23 | https://archive.eclipse.org/egit/updates-1.2 | updates-1.2 | 1.2.0.201112221803-r |
1.1.0.201109151100-r | 2011-09-22 | https://archive.eclipse.org/egit/updates-1.1 | updates-1.1 | N/A |
1.0.0.201106090707-r | 2011-06-22 | https://archive.eclipse.org/egit/updates-1.0 | updates-1.0 | N/A |
0.12.1 (Incubation) | 2011-05-03 | https://archive.eclipse.org/egit/updates-0.12 | updates-0.12 | N/A |
0.11.3 (Incubation) | 2011-02-21 | https://archive.eclipse.org/egit/updates-0.11 | updates-0.11 | N/A |
0.10.1 (Incubation) | 2010-12-17 | https://archive.eclipse.org/egit/updates-0.10 | updates-0.10 | N/A |
0.9.3 (Incubation) | 2010-09-17 | https://archive.eclipse.org/egit/updates-0.9 | updates-0.9 | N/A |
0.8.4 (Incubation) | 2010-06-14 | https://archive.eclipse.org/egit/updates-0.8 | updates-0.8 | N/A |
The project follows a pattern of https://download.eclipse.org/egit/updates-<version> for its sites.
Since 3.0 P2 repositories are also deployed to repo.eclipse.org:
- zipped p2 repositories are located under https://repo.eclipse.org/content/groups/releases/org/eclipse/egit/org.eclipse.egit.repository/
- unzipped p2 repositories which can be directly installed or referenced from a target platform are located under https://repo.eclipse.org/content/unzip/releases.unzip/org/eclipse/egit/org.eclipse.egit.repository/
Retention Policy
All release p2 repositories will be kept forever.
Latest builds of EGit
Version | target simultaneous release version | p2 repository URL | browse p2 repository |
---|---|---|---|
master branch - 5.7.0-SNAPSHOT | 2020-03 (4.15.0) | https://download.eclipse.org/egit/updates-nightly | updates-nightly |
stable-5.6 branch - 5.6.1-SNAPSHOT | 2019-12 (4.14.0) | https://download.eclipse.org/egit/updates-stable-nightly | updates-stable-nightly |
In general EGit promises to support at least the latest two Eclipse releases.
If possible we will not prevent usage in older releases but if we want to take advantage of new functionality only available in one of the latest two Eclipse releases but not in older releases we will update dependencies which will in fact discontinue support for older releases.
EGit | Contained in release train | Supported Version of Eclipse |
---|---|---|
5.7.0 | Eclipse 4.15 (2020-03) | Eclipse 4.6 + (Neon) |
5.6.0.201912101111-r | Eclipse 4.14 (2019-12-18) | Eclipse 4.6 + (Neon) |
5.5.1.201910021850-r | Eclipse 4.6 + (Neon) | |
5.5.0.201909110433-r | Eclipse 4.13 (2019-09) | Eclipse 4.6 + (Neon) |
5.4.2.201908231537-r | Eclipse 4.6 + (Neon) | |
5.4.0.201906121030-r | Eclipse 4.12 (2019-06) | Eclipse 4.6 + (Neon) |
5.3.0.201903130848-r | Eclipse 4.11 (2019-03) | Eclipse 4.6 + (Neon) |
5.2.0.201812061821-r | Eclipse 4.10 (2018-12) | Eclipse 4.5 + (Mars) |
5.1.1.201809181055-r | Eclipse 4.5 + (Mars) | |
5.1.0.201809111528-r | Eclipse 4.9 (2018-09) | Eclipse 4.5 + (Mars) |
5.0.3.201809091024-r | Eclipse 4.4 + (Luna) | |
5.0.2.201807311906-r | Eclipse 4.4 + (Luna) | |
5.0.1.201806211838-r | Eclipse 4.4 + (Luna) | |
5.0.0.201806131550-r | Eclipse 4.8 (Photon) | Eclipse 4.4 + (Luna) |
4.11.0.201803080745-r | Eclipse 4.8 M6 (Photon M6) | Eclipse 4.4 + (Luna) |
4.10.0.201712302008-r | Eclipse 4.8 M5 (Photon M5) | Eclipse 4.4 + (Luna) |
4.9.1.201712030800-r | Eclipse 4.7.2 (Oxygen.2) and Eclipse 4.8 M4 (Photon M4) | Eclipse 4.4 + (Luna) |
4.9.0.201710071750-r | Eclipse 4.4 + (Luna) | |
4.8.0.201706111038-r | Eclipse 4.7 (Oxygen) | Eclipse 4.4 + (Luna) |
4.7.1.201706071930-r | Eclipse 4.4 + (Luna) | |
4.7.0.201704051617-r | Eclipse 4.4 + (Luna) | |
4.6.1.201703071140-r | Eclipse 4.6.3 (Neon.3), Eclipse 4.7 (Oxygen M6) | Eclipse 4.4 + (Luna) |
4.6.0.201612231935-r | Eclipse 4.7 (Oxygen M5) | Eclipse 4.4 + (Luna) |
4.5.0.201609210915-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
4.4.1.201607150455-r | Eclipse 4.6.1, 4.6.2 (Neon.1, Neon.2) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.4.0.201606070830-r | Eclipse 4.6 (Neon.0) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.3.0.201604071810-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
4.2.0.201601211800-r | Eclipse 4.6 M5 (Neon M5) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.1.1.201511131810-r | Eclipse 4.5.2 (Mars.2) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.1.0.201509280440-r | Eclipse 4.6 M2 (Neon M2) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.0.3.201509231615-r | Eclipse 4.5.1 (Mars.1) | Eclipse 3.8.2/4.2.2 + (Juno) |
4.0.2.201509141540-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
4.0.1.201506240215-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
4.0.0.201506090130-r | Eclipse 4.5.0 (Mars) | Eclipse 3.8.2/4.2.2 + (Juno) |
3.7.1.201504261725-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.7.0.201502260915-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.6.2.201501210735-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.6.1.201501031845-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.6.0.201412230720-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.5.3.201412180710-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.5.2.201411120430-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.5.1.201410131835-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.5.0.201409260305-r | Eclipse 3.8.2/4.2.2 + (Juno), support for 3.8.2 was fixed see bug 438601 | |
3.4.2.201412180340-r | Eclipse 4.4.2 (Luna SR2) | Eclipse 4.2.2 + (Juno) |
3.4.1.201406201815-r | Eclipse 4.4.1 (Luna SR1) | Eclipse 4.2.2 + (Juno) |
3.4.0.201406110918-r | Eclipse 4.4 (Luna) | Eclipse 4.2.2 + (Juno) |
3.3.1.201403241930-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.3.0.201403021825-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.2.0.201312181205-r | 4.3.2 (Kepler SR2) | Eclipse 3.8.2/4.2.2 + (Juno) |
3.1.0.201310021548-r | Eclipse 3.8.2/4.2.2 + (Juno) | |
3.0.3.201309161630-r | 4.3.1 (Kepler SR1) | Eclipse 3.8.2/4.2.2 + (Juno) |
3.0.1.201307141637-r | 4.3.0 (Kepler) | Eclipse 3.8.2/4.2.2 + (Juno) |
2.3.1.201302201838-r | 3.8.2/4.2.2 (Juno SR2) | Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional) |
2.2.0.201212191850-r | 3.8.1/4.2.1 (Juno SR1) | Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional) |
2.1.0.201209190230-r | 3.8.1/4.2.1 (Juno SR1) | Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional) |
2.0.0.201206130900-r | 3.8/4.2 (Juno) | Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional) |
1.3.0.201202151440-r | 3.7.2 (Indigo SR2) | Eclipse 3.5.2+ (Galileo) |
1.2.0.201112221803-r | 3.7.2 (Indigo SR2) | Eclipse 3.5.2+ (Galileo) |
1.1.0.201109151100-r | 3.7.1 (Indigo SR1) | Eclipse 3.5.2+ (Galileo) |
1.0.0.201106090707-r | 3.7.0 (Indigo) | Eclipse 3.5.2+ (Galileo) |
Required Java Version (BREE):
- Up to EGit 3.7 the minimum supported BREE is Java 5 though Java 6 or higher is recommended due to limitations in older Java versions.
- Starting from EGit 4.0 the minimum supported BREE is Java 7
- Starting from EGit 4.6 the minimum supported BREE is Java 8 and Eclipse 3.x support discontinues.
Compatible version of Git:
Compatibility is on a feature by feature basis. Currently the major versionrelated difference is in how Git handles file names with non-ASCII file names. Git for Windows 1.7.10 and later encodes filenames in UTF-8 which is compatible with JGit. Git on Mac, v1.7.12 can encode filenames in a way that is compatible with EGit and Git for Windows if core.precomposeunicode is set to true. However EGit on OS X does not handle Unicode well.
Compatibility is on a feature by feature basis. Currently the major versionrelated difference is in how Git handles file names with non-ASCII file names. Git for Windows 1.7.10 and later encodes filenames in UTF-8 which is compatible with JGit. Git on Mac, v1.7.12 can encode filenames in a way that is compatible with EGit and Git for Windows if core.precomposeunicode is set to true. However EGit on OS X does not handle Unicode well.
See this page Differences to Git
See this page Mapping Git Commands
Some, but not all configuration options/features in Git are available in EGit/JGit. Here is a summary, not yet complete describing some of these, including notable differences. Note that the set of EGit/JGit is not based off a particular Git version.
config
config | description |
---|---|
branch.autosetuprebase | supported |
branch.autosetupmerge | supported |
core.attributesFile | supported |
core.autocrlf | Since 2.0 supports true,false and input. See the tutorial for notes about making sure EGit picks up the configuration. |
core.bare | supported |
core.checkstat | supported (2.3) |
core.compression | zlib compression level |
core.excludesfile | Contains ignore rules, in addition to .gitignore |
core.filemode | supported |
core.ignorecase | not supported |
core.logallrefupdates | supported |
core.packindexversion | version 1 and 2 supported |
core.precomposeunicode | Ignore. See Bug 413390 |
core.repositoryformatversion | recognized, only '0' supported |
core.safecrlf | not supported |
core.worktree | supported in JGit, not EGit |
diff.algorithm | myers, histogram (default: histogram) |
pack.indexVersion | Default 2,-1 for older format |
user.email | supported |
user.name | supported |
Supported in JGit, but no EGit usually amounts to having no or strange behavior would oneattempt to use it in the Eclipse IDE.
Notes:For those that can read the source, look at ConfigConstants.java for a hint on what optionsJGit recognizes. If it appears there, an option may be supported, but it may also mean for a fewcases that JGit just looks for it and then explicitly tells the user the option is not supported.If it does not appear, it's most certainly up for grabs as a contribution. The file contains lotsof config options that only applies to JGit (DFS, gerrit).
attributes
The following attributes are used by JGit/EGit. They can be used either inside a checked-in.gitattributes file, the file $GIT_DIR/info/attributes or in the file defined by the configconstant core.attributesFile
attribute | description |
---|---|
text | supported |
crlf | supported |
input | supported |
eol | supported |
binary | supported |
filter | supported |
Bug 342372 is meant to discuss problems regardingattributes.
Environment
JGit supports some environment variables. Do not set those for the Eclipse IDE. We'll list a few onesthat may be used, but most apply only to using JGit from the command line.
variable | description |
---|---|
GIT_ALTERNATE_OBJECT_DIRECTORIES | supported |
GIT_AUTHOR_EMAIL | supported |
GIT_AUTHOR_NAME | supported |
GIT_CEILING_DIRECTORIES | supported. Also EGit may be benefited when used with automounted file systems |
GIT_DIR | supported |
GIT_INDEX_FILE | supported |
GIT_OBJECT_DIRECTORY | supported |
GIT_SSH | plink, tortoiseplink |
![Explain: Explain:](/uploads/1/2/5/8/125878614/403572318.jpg)
SSH config
JGit does its own parsing of the
~/.ssh/config
file. It was written when OpenSSH 7.5 was current and may miss out on features added in newer OpenSSH version. It does not support the Match
and Include
directives. JGit does not validate when parsing like OpenSSH does, instead it validates items when they are used.Which directives from the ssh config file are actually used depends on which SSH library is used. For instance, the JSch library uses only one (the first) of the
UserKnownHostFile
s, while the Apache MINA sshd library uses all of them. Neither JSch nor Apache MINA sshd use the GlobalKnownHostsFile
s. ProxyCommand
is not supported. %-substitution is supported. With JSch, %u (and thus also %C) cannot be replaced. (With the Apache MINA sshd library, it can.) %i is not handled; Java has no concept of a 'user ID'. %T is always replaced by NONE.
Host name matching to find applicable directives follows the OpenSSH way, but JGit doesn't do host name canonicalization.
For documentation on the
~/.ssh/config
file see the OpenBSD manual for ssh_config.Location of the SSH config file
Eclipse lets the user define the SSH_HOME directory in the preferences under Preferences→General→Network Connections→SSH2, field 'SSH2 home'. Setting this to anything else but .ssh in your user home directory is going to be confusing, since it'll mean that JGit may use other settings than your command-line utilities. Moreover, the JSch library always uses ~/.ssh/config regardless of this setting. The Apache MINA sshd library uses the directory as configured in Eclipse.
It is strongly recommended to set this path to .ssh in your user home directory.
Using PuTTY Agent on Windows for SSH Keys
It is possible to use PuTTY's key management capabilities on Windows for EGit as well. For that you work you must install PuTTY and TortoiseGit. Then set GIT_SSH environment variable to
c:Programe FilesTortoiseGitbinTortoisePlink.exe
.Store SSH Key Passphrase in Mac Keyring
It is possible to store the SSH Key Passphrase in Mac's Keyring. However. EGit's internal SSH client does not support this. Thus, in order benefit from Keyring EGit must be configured to use the Mac vanilla SSH agent. This is possible by setting the GIT_SSH environment variable to
/usr/bin/ssh
.For OSX Mavericks see this Stackoverflow question for how to set environment variable for applications like Eclipse.
For OSX Yosemite see this Stackoverflow question for how to set environment variable for applications like Eclipse.
Retrieved from 'https://wiki.eclipse.org/index.php?title=EGit/FAQ&oldid=437179'