Failed to install CDT in Eclipse Luna

I just downloaded the Eclipse Luna in my Eclipse IDE package for Java EE Developers . I want to add Eclipse CDT for programming in C / C ++ (I know that I can download the CDT package, but I prefer this method, I do not offer this option as an answer please).

When I tried to install it using the Marketplace, I did not find a version of Luna.

If I use the Luna update site which extracts CDT 8.4.0.201406111759, I got this error:

An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709 

If I use the Kepler update site, extracting CDT 8.3.0.201402142303I, I got this error:

 An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.cdt,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.checkers,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.checkers.ui,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.core,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.core.cxx,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.ui,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.codan.ui.cxx,3.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.core,5.6.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.core.linux,5.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.core.linux.x86_64,5.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.debug.core,7.4.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.debug.mi.core,7.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.debug.ui,7.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.doc.user,5.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.dsf,2.4.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.gdb,4.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.gdb.ui,2.4.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.ui,2.4.0.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.gdb,7.0.0.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gdb,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.gdb.ui,7.0.0.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.build,8.3.0.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.debug,8.3.0.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.dsf,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.launch,7.1.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.make.core,7.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.make.ui,7.2.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.core,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.2.1.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.ui,8.2.1.201402142303 No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.platform,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.cdt.ui,5.7.0.201402142303 No repository found containing: binary,org.eclipse.cdt_root,8.3.0.201402142303 No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709 

I added the Eclipse CDT 8.4 update site ( http://download.eclipse.org/tools/cdt/releases/8.4 ), it retrieves version 8.4.0.201406111759, the same version as the Luna update site, and obviously the error was the same :

 An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709 

How to install Eclipse CDT in an instance of Eclipse Luna?

PD: Eclipse forums do not accept my Eclipse account credentials, I could not post my question there.

0
source share
2 answers

Finally, I solved the problem. I used Oracle Java 6 to run Eclipse. After upgrading to Oracle Java 8, the installation process runs correctly.

+3
source

Go to Help > Install new software...

Add the following URL: http://download.eclipse.org/tools/cdt/releases/8.4/ and install the CDT. The current Luna CDT repository in the Marketplace is not functioning properly, so manual path is the way to go.

-1
source

Source: https://habr.com/ru/post/979056/


All Articles