无法在Eclipse Luna中安装CDT [英] unable to install CDT in Eclipse Luna

查看:347
本文介绍了无法在Eclipse Luna中安装CDT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在他的包 Eclipse Luna .eclipse.org / downloads / package / eclipse-ide-java-ee-developers / lunarrel =nofollow> Eclipse IDE for Java EE Developers 。我想添加 Eclipse CDT 以C / C ++编程(我知道我可以下载CDT包,但是我喜欢这种方式,不要提供这个选项作为答案)。



当我尝试使用Marketplace安装它,我没有找到Luna版本。 p>

如果我使用Luna更新站点,则会检索CDT 8.4.0.201406111759,我收到此错误:

 收集要安装的项目时发生错误
会话上下文为:(profile = epp.package.jee,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect, operand =,action =)。
没有找到存储库,包含:osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709

如果我使用开普勒更新站点,检索CDT 8.3.0.201402142303I,我收到此错误:

 收集要安装的项目时发生错误
会话上下文为:(profile = epp.package.jee,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect,operand =,action =)。
没有找到包含的仓库:osgi.bundle,org.eclipse.cdt,8.3.0.201402142303
没有找到包含osgi.bundle,org.eclipse.cdt.codan.checkers,3.2.0.201402142303 $ b的仓库$ b找不到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.codan.checkers.ui,3.2.0.201402142303
没有找到包含osgi.bundle,org.eclipse.cdt.codan.core,3.2 .0.201402142303
找不到包含以下内容的存储库:osgi.bundle,org.eclipse.cdt.codan.core.cxx,3.2.0.201402142303
没有找到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.codan .ui,3.2.0.201402142303
没有找到包含的仓库:osgi.bundle,org.eclipse.cdt.codan.ui.cxx,3.2.0.201402142303
没有找到包含osgi.bundle,org.eclipse的仓库.cdt.core,5.6.0.201402142303
没有找到包含的仓库:osgi.bundle,org.eclipse.cdt.core.linux,5.2.0.201402142303
没有找到包含osgi.bundle,org.eclipse的仓库.cdt.core.linux.x86_64,5.2.0.201402142303
没有找到包含osgi.bun的仓库dle,org.eclipse.cdt.debug.core,7.4.0.201402142303
没有找到存储库,包含:osgi.bundle,org.eclipse.cdt.debug.mi.core,7.3.0.201402142303
没有找到存储库包含:osgi.bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201402142303
没有找到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.debug.ui,7.3.0.201402142303
没有找到包含以下内容的存储库:osgi.bundle,org.eclipse.cdt.doc.user,5.3.0.201402142303
没有找到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.dsf,2.4.0.201402142303
找不到包含以下内容的存储库:osgi.bundle,org.eclipse.cdt.dsf.gdb,4.3.0.201402142303
未找到包含osgi.bundle,org.eclipse.cdt.dsf.gdb.ui,2.4。 0.201402142303
没有找到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.dsf.ui,2.4.0.201402142303
没有找到包含的库:org.eclipse.update.feature,org.eclipse.cdt, 8.3.0.201402142303
没有找到存储库,包含:osgi.bundle,org.eclipse.cdt.gdb,7.0.0.201402142303
无资源库发现包含:org.eclipse.update.feature,org.eclipse.cdt.gdb,8.3.0.201402142303
没有找到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.gdb.ui,7.0.0.201402142303
找不到包含以下内容的仓库:org.eclipse.update.feature,org.eclipse.cdt.gnu.build,8.3.0.201402142303
没有找到包含以下内容的仓库:org.eclipse.update.feature,org.eclipse。 cdt.gnu.debug,8.3.0.201402142303
没有找到包含的库:org.eclipse.update.feature,org.eclipse.cdt.gnu.dsf,8.3.0.201402142303
没有找到包含osgi的仓库。 bundle,org.eclipse.cdt.launch,7.1.0.201402142303
没有找到包含的仓库:osgi.bundle,org.eclipse.cdt.make.core,7.3.0.201402142303
没有找到包含osgi的仓库。 bundle,org.eclipse.cdt.make.ui,7.2.0.201402142303
找不到包含以下内容的仓库:osgi.bundle,org.eclipse.cdt.managedbuilder.core,8.3.0.201402142303
没有找到包含以下内容的仓库: osgi.bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.2.1.201402142303
否代表ository发现包含:osgi.bundle,org.eclipse.cdt.managedbuilder.ui,8.2.1.201402142303
没有找到包含的库:org.eclipse.update.feature,org.eclipse.cdt.platform,8.3.0.201402142303
没有找到包含以下内容的资料库:osgi.bundle,org.eclipse.cdt.ui,5.7.0.201402142303
没有找到包含二进制文件库的文件库:org.eclipse.cdt_root,8.3.0.201402142303
没有存储库包含: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更新站点相同的版本,显然错误是一样的:

 收集要安装的项目时发生错误
会话上下文为:(profile = epp.package.jee,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect ,operand =,action =)。
没有找到存储库,包含: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 后,正确执行安装过程。


I have just downloaded Eclipse Luna in his package Eclipse IDE for Java EE Developers. I want to add Eclipse CDT to program in C/C++ (I know I can download CDT package, but I prefer this way, don't offer that option as an answer please).

When I tried to install it using Marketplace I didn't found Luna version.

If I use Luna update site, that retrieves 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 Kepler update site, retrieving 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 Eclipse CDT 8.4 update site (http://download.eclipse.org/tools/cdt/releases/8.4), it retrieves version 8.4.0.201406111759, same version than Luna update site, and obviously 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 can I install Eclipse CDT in my Eclipse Luna instance?

PD: Eclipse forums are not accepting my credentials of Eclipse account, I could not post my question there.

解决方案

Finally I solved the problem. I was using Oracle Java 6 to execute Eclipse. After upgrading to Oracle Java 8, the installation process executed correctly.

这篇关于无法在Eclipse Luna中安装CDT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆