[英]unable to install CDT in Eclipse Luna
我刚刚在他的Java EE开发人员软件包Eclipse IDE中下载了Eclipse Luna 。 我想将Eclipse CDT添加到C / C ++程序中(我知道我可以下载CDT包,但是我更喜欢这种方式,请不要提供该选项作为答案)。
当我尝试使用Marketplace安装它时,我没有找到Luna版本。
如果我使用Luna更新站点,该站点检索CDT 8.4.0.201406111759,则会出现此错误:
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
如果我使用开普勒更新站点检索CDT 8.3.0.201402142303I,则会收到此错误:
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
我添加了Eclipse CDT 8.4更新站点( http://download.eclipse.org/tools/cdt/releases/8.4 ),它检索版本8.4.0.201406111759,与Luna更新站点相同,并且显然错误是相同的:
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
如何在Eclipse Luna实例中安装Eclipse CDT?
PD:Eclipse论坛不接受我的Eclipse帐户凭据,我无法在此处发布问题。
最后我解决了这个问题。 我正在使用Oracle Java 6执行Eclipse。 升级到Oracle Java 8后 ,安装过程将正确执行。
转到Help > Install new software...
添加以下URL: http://download.eclipse.org/tools/cdt/releases/8.4/
: http://download.eclipse.org/tools/cdt/releases/8.4/
并从此处安装CDT。 当前市场中CDT的Luna储存库无法正常运行,因此必须手动进行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.