当我尝试安装错误时安装完成:安装失败并显示错误 - 显示日志,即使我以管理员身份运行它我也在使用Windows 7 Professional 64位,当我点击show log this就是我所看到的:
[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)
我无法编写所有代码,但如果你能帮助我,那就是这样的话
答案 0 :(得分:1)
确保您的JDK也是64位,并确保您下载的Eclipse版本是64位。如果所有内容都没有对齐(系统,JDK,IDE)为64位,您将收到各种奇怪的错误,IDE将无法启动。
更新:
安装插件时会出现问题 请看这篇文章:
或者,如果你不想做所有这些,我建议下载一个简单的Eclipse版本(没有内置的PD2插件,只是通用的),并使用市场来获取额外的插件 - 你想手动。
答案 1 :(得分:0)
如果即使在确保为计算机安装了正确的JDK之后仍无法解决问题,请尝试使用Eclipse安装右侧溢出菜单下的高级模式窗口。这个安装方式适用于我和我的几个朋友。您还可以按照video here