安装失败并出现错误(Eclipse) [英] Installation Failed With An Error (Eclipse)

查看:173
本文介绍了安装失败并出现错误(Eclipse)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试安装完成并出现错误时:安装失败并显示错误-show log,即使我以admin身份运行,也会发生这种情况,我使用的是Windows 7 Professional 64位,当我单击show log时我所看到的是:

When I try to install the installation finish with an error : installation failed with an error - show log , and this happening even if I run it as admin I'm using Windows 7 Professional 64bits , when I click on show log this is what I see :

    [2017-04-03 20:33:34] Executing bootstrap tasks
[2017-04-03 20:33:34] Java(TM) SE Runtime Environment 1.8.0_121-b13
[2017-04-03 20:33:34] Product org.eclipse.products.epp.package.java.neon
[2017-04-03 20:33:34] Bundle org.eclipse.oomph.setup 1.6.0.v20161125-0947, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-04-03 20:33:34] Bundle org.eclipse.oomph.setup.core 1.6.0.v20161128-0928, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-04-03 20:33:34] Bundle org.eclipse.oomph.setup.p2 1.6.0.v20161019-0656, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-04-03 20:33:34] Performing P2 Director (Eclipse IDE for Java Developers (Neon))
[2017-04-03 20:33:34] Offline = false
[2017-04-03 20:33:34] Mirrors = true
[2017-04-03 20:33:34] Resolving 23 requirements from 3 repositories to D:\Nouveau dossier (2)\eclipse
[2017-04-03 20:33:34] Requirement epp.package.java [4.6.0,4.7.0)
[2017-04-03 20:33:34] Requirement org.eclipse.platform.feature.group [4.6.0,4.7.0)
[2017-04-03 20:33:34] Requirement org.eclipse.rcp.feature.group [4.6.0,4.7.0)
[2017-04-03 20:33:34] Requirement org.eclipse.buildship.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.egit.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.egit.mylyn.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.jdt.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.jgit.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.m2e.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.m2e.logback.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.bugzilla_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.context_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.git.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.hudson.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.ide_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.java_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn.wikitext_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.mylyn_feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.recommenders.mylyn.rcp.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.recommenders.rcp.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.recommenders.snipmatch.rcp.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.wst.xml_ui.feature.feature.group
[2017-04-03 20:33:34] Requirement org.eclipse.oomph.setup.feature.group
[2017-04-03 20:33:34] Repository http://download.eclipse.org/technology/epp/packages/neon
[2017-04-03 20:33:34] Repository http://download.eclipse.org/releases/neon/201703231000
[2017-04-03 20:33:34] Repository http://download.eclipse.org/oomph/updates/milestone/latest
[2017-04-03 20:33:37] Calculating requirements and dependencies.
[2017-04-03 20:33:37] Computing prerequisite plan
[2017-04-03 20:33:41] Collecting 1 artifacts from http://download.eclipse.org/technology/epp/packages/neon
[2017-04-03 20:33:42] Downloading epp.package.java.executable.win32.win32.x86_64
[2017-04-03 20:33:42] Collected 1 artifacts for http://download.eclipse.org/technology/epp/packages/neon in 0.669s
[2017-04-03 20:33:42] Collecting 3 artifacts from http://download.eclipse.org/releases/neon/201703231000
[2017-04-03 20:33:46] Downloading org.eclipse.platform_root
[2017-04-03 20:33:46] Downloading org.eclipse.rcp_root
[2017-04-03 20:33:46] Downloading org.eclipse.platform.ide.executable.win32.win32.x86_64
[2017-04-03 20:33:46] Collected 3 artifacts for http://download.eclipse.org/releases/neon/201703231000 in 3.681s
[2017-04-03 20:33:46] An error was detected while performing the engine operation and the changes are being rolled back. See the log for details.
[2017-04-03 20:33:46] ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:547)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:729)

我无法编写所有代码,但是如果您能帮助我的话,就像这样

I can't write the all code but it's something like that if you could help me please

推荐答案

确保您的JDK也是64位的,并确保您下载的Eclipse版本是64位的.如果所有内容(系统,JDK,IDE)都未对齐为64位,则将出现各种奇怪的错误,并且您的IDE将无法启动.

Make sure your JDK is also 64-bit, and make sure the version of Eclipse you have downloaded is 64-bit. If everything is not aligned (system, JDK, IDE) as 64-bit you will get all kinds of strange errors and your IDE will not start.

更新:

在安装插件时会发生此问题.
请参阅这篇文章:

The issue occurs when you are installing a plug-in.
Please see this post:

或者,如果您不想做所有这些事情,我建议您下载Eclipse的基本版本(没有内置的PD2插件,只是通用的),然后使用Marketplace来获取您额外的插件手动想要.

Or, if you don't want to do through all that, I suggest downloading a bare-bones version of Eclipse (no PD2 plugins built-in, just generic) and using the Marketplace to grab the extra plug-ins you want manually.

这篇关于安装失败并出现错误(Eclipse)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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