Unable to install egit plugin in eclipse galileo - java

I have an git URI and I want to import that project into Eclipse.
From this post I learned that we need to need to install the egit software in Eclipse.
But when I try to install this software I get the following error messages:
I am just thinking is the repository for egit moved to other place or are there any compatibility issues? I am totally not sure.
I am using Eclipse Galileo Platform Version: 3.5.2 Build id: M20100211-1343.
Is anybody there who encountered the same problem??
UPDATE -- This is the full error message
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r)
Missing requirement: Eclipse Git Team Provider 4.2.0.201601211800-r (org.eclipse.egit.feature.group 4.2.0.201601211800-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found

The key part of the error is
requires 'org.eclipse.core.runtime [3.7.0,4.0.0)'.
This is saying that the org.eclipse.core.runtime plugin must be at least version 3.7.0 (and below 4.0.0).
The version of org.eclipse.core.runtime in Eclipse Galileo is 3.5.0 so this version of EGit cannot be installed on Galileo. Either move to a newer Eclipse or try and find an older EGit (I don't know if a suitable version exists).

Related

Eclipse Neon for Eclipse Committers can't resolve org.eclipse

I recently upgraded to Eclipse Neon. I had a plugin project that built fine in Eclipse Luna, but now in neon, everywhere that I imported "org.eclipse."something I get an error:
The import org.eclipse cannot be resolved.
The plugin.xml has errors etc.
The Project build path has "Plugin Dependencies" on the build path.
My version of Eclipse is
Eclipse IDE for Eclipse Committers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
I'm running on MacOSX High Sierra.
It's probably something very simple.
I have a similar problem every time I upgrade my eclipse installation.
For me the problem can be solved by adjusting the Target platform (can be found in the settings - just search for it) to match the currently running one. For that in most cases I simply add a target platform with default configuration and set that one active.
After a rebuild (normally performed automatically) all those errors are gone.

Eclipse Thym requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' but it could not be found

I am trying to install Eclipse Thym plugin, but I'm getting the below error.
Cannot complete the install because one or more required items could not be found.
Software being installed: Hybrid Mobile Application Development Tools 2.0.0.201604091831 (org.eclipse.thym.feature.feature.group 2.0.0.201604091831)
Missing requirement: Hybrid Mobile App. Dev. Core 2.0.0.201604091831 (org.eclipse.thym.core 2.0.0.201604091831) requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: Hybrid Mobile Application Development Tools 2.0.0.201604091831 (org.eclipse.thym.feature.feature.group 2.0.0.201604091831)
To: org.eclipse.equinox.p2.iu; org.eclipse.thym.core [2.0.0.201604091831,2.0.0.201604091831]
I dug through multiple forums, but no where it is clear on how to resolve this issue. How to resolve this issue?
My IDE is Eclipse Photon
Regards
You could install it on more recent versions of Eclipse by using the snapshot software repository url, eq. http://download.eclipse.org/thym/snapshots/
It looks like Eclipse Thym is not compatible with Eclipse Photon.
The key part of the error is
requires 'osgi.bundle; org.eclipse.jgit [3.0.0,5.0.0)'
which says that the org.eclipse.jgit plugin is required and must have a version of at least 3.0.0 and less than 5.0.0. The version of this plugin in Eclipse Photon is 5.0.0 so it is not compatible.
So it looks like you would have to use an older version of Eclipse to run this.

AWS Toolkit for Eclipse Installation fails on Eclipse Luna 4.4

Cannot complete the install because one or more required items could not be found.
Software currently installed: AWS CodeStar Plugin 1.0.0.v201707121824 (com.amazonaws.eclipse.codestar.feature.feature.group 1.0.0.v201707121824)
Missing requirement: AWS CodeCommit Plugin 1.0.0.v201707121824 (com.amazonaws.eclipse.codecommit 1.0.0.v201707121824) requires 'bundle org.eclipse.ui.navigator 3.5.401' but it could not be found
Cannot satisfy dependency:
From: AWS CodeStar Plugin 1.0.0.v201707121824 (com.amazonaws.eclipse.codestar 1.0.0.v201707121824)
To: bundle com.amazonaws.eclipse.codecommit 1.0.0
Cannot satisfy dependency:
From: AWS CodeStar Plugin 1.0.0.v201707121824 (com.amazonaws.eclipse.codestar.feature.feature.group 1.0.0.v201707121824)
To: com.amazonaws.eclipse.codestar [1.0.0.v201707121824]
This is saying that the install needs at least version 3.5.401 of the org.eclipse.ui.navigator plugin. Eclipse Luna 4.4.0 only has version 3.5.400 of this plugin.
The 4.4.2 maintenance release of Luna does have version of 3.5.401 of this plugin so you need to update to that (or move to a newer version of Eclipse such as the current Eclipse Oxygen 4.7.0).
If it is Spring STS IDE ; you can goto Help -> About spring tool Suite -> Installation Details button will be there,
Click that one window will be poped-up. Click on "Update"
Hope this works for Eclipse based IDE's

Installing EGit on eclipse causes problems

I've tried installing the EGit plugin on Eclipse with this link: http://download.eclipse.org/egit/updates
I chose both, the Eclipse Git Team Provider and JGit and hit on next. Then, the window says The operation cannot be completed. See the details..
This is the window:
The error lines say:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r)
Software currently installed: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800)
Only one of the following can be installed at once:
Team Support Core 3.7.0.v20130514-1224 (org.eclipse.team.core 3.7.0.v20130514-1224)
Team Support Core 3.5.0.I20090527-0620 (org.eclipse.team.core 3.5.0.I20090527-0620)
Team Support Core 3.5.1.r35x_20100113-0800 (org.eclipse.team.core 3.5.1.r35x_20100113-0800)
Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800)
Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r)
To: org.eclipse.egit.ui [3.0.3.201309161630-r]
Cannot satisfy dependency:
From: Git Team Provider UI 3.0.3.201309161630-r (org.eclipse.egit.ui 3.0.3.201309161630-r)
To: bundle org.eclipse.team.core [3.6.100,4.0.0)
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
To: org.eclipse.team.core [3.6.0.I20110525-0800]
Cannot satisfy dependency:
From: Eclipse Project SDK 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8 (org.eclipse.sdk.feature.group 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8)
To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency:
From: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800)
To: org.eclipse.sdk.feature.group [3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8]
I really don't know what is going on, but I want to get this to work so badly. Thanks in advance for everyone's support!
From the error message it looks like you are using Eclipse 3.7 (which is about 2 years old at the time of writing this answer).
EGit 3.0 requires at least Eclipse 3.8.2 or Eclipse 4.2.2, see What versions of Eclipse does EGit target? in the FAQ.
So the solution is to upgrade to a recent version of Eclipse, see Eclipse downloads.
Alternatively, if you need to stick to Eclipse 3.7.2 for some reason, you can use EGit version 1.3. This is the best update site to use in that case: eclipse indigo update site. If you filter by "git" you will get the correct plugins to install.

Eclipse plugin installation/update issues

I've installed the following Team repository plugins (along with it's dependencies) for Eclipse Helios (using Eclipse updater).
MercurialEclipse 1.7.1
Subclipse 1.6.17
Subversive SVN
All of these are the latest in Eclipse Marketplace. My problem is when I go to Eclipse "Preferences", under "Team" I only see CVS but under Eclipse Marketplace, I can see that these plugins are installed (it gives me an option to uninstall it).
How do I configure my Team repositories to reflect under "Team" in Preferences?
Also, there is an update for "Eclipse IDE for Java EE developers, but when I try to update it, the following error occurs:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
Software currently installed: Shared profile 1.0.0.1276787175574 (SharedProfile_epp.package.jee 1.0.0.1276787175574)
Only one of the following can be installed at once:
toolingepp.package.jee.configuration 1.3.2.20110301-1807
toolingepp.package.jee.configuration 1.3.0.20100617-0521
Cannot satisfy dependency:
From: Shared profile 1.0.0.1276787175574 (SharedProfile_epp.package.jee 1.0.0.1276787175574)
To: toolingepp.package.jee.configuration [1.3.0.20100617-0521]
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.2.20110301-1807 (epp.package.jee 1.3.2.20110301-1807)
To: toolingepp.package.jee.configuration [1.3.2.20110301-1807]
How do I solve it? Yes, I've spent days Googling for this issue but none solved my problem.
Thanks in advance.
For the first question, if you go to Help -> About -> Installation Details -> plug-ins tab do you see, eg for Subversive:
Are you doing this on a Windows 7 machine? Try running Eclipse as an administrator and then do the update.
Answering the second point of your question. Try executing eclipse as root/Administrator.
I had the same problem and I solved it.

Categories

Resources