在windows上安装Eclipse IDE时出错

时间:2021-01-23 19:59:24

Hello everyone this is my first question here so I apologize for any missed expectations.

大家好,这是我在这里的第一个问题,因此我为没有达到的期望道歉。

EDIT 1:

编辑1:

Downloaded Eclipse from : https://eclipse.org/downloads/download.php?file=/oomph/products/eclipse-inst-win64.exe

下载Eclipse: https://eclipse.org/downloads/download.php?

64-bit Windows 8

64位的Windows 8

JDK Dir: C:\Program Files\Java

JDK Dir:C:\Program Files\Java

/Edit 1

/编辑1

I need to install the Eclipse IDE for Java programming for my Computer Science class and I have been trying for two days now with no success. I tried both the 64 and 32 bit installations and I get the exact same error. It's very frustrating because whenever I search all people talk about are "plug-ins".

我需要为我的计算机科学课安装Java编程的Eclipse IDE,我已经试了两天了,但是没有成功。我尝试了64位和32位的安装,得到了完全相同的错误。这非常令人沮丧,因为每当我搜索时,所有人谈论的都是“插件”。

Here is the error I get when installing:

下面是我安装时得到的错误:

[2015-09-17 13:30:06] Downloading org.eclipse.rcp_root
[2015-09-17 13:30:34] An error was detected while performing the engine                  operation and the changes are being rolled back. See the log for details.
[2015-09-17 13:30:34] 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:282)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:523)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:328)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:709)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2971)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2900)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2881)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2775)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1151)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.access$27(SimpleVariablePage.java:1030)
  at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$18.run(SimpleVariablePage.java:976)
  ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=C__Users_Techies_eclipse_java-latest-released2_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
  ERROR: org.eclipse.equinox.p2.engine code=0 Error with signed content.
  java.security.SignatureException: An error occurred while processing the signatures for the file: C:\Users\Techies\.p2\pool\features\org.eclipse.wst.xml_core.feature_3.7.0.v201502261749
    at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:219)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:73)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:54)
    at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:50)
    at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:251)
    at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:101)
    at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
    at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:42)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:519)
    at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:328)
    at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:709)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2971)
    at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2900)

This goes on even more will post the entire thing if needed but hoping there is something obvious I am missing. I have tried re-installing JDK, rebooting, re-downloading Eclipse, installing 32-bit versions of Eclipse and JDK and 64-bit for both. I also system restored to before I started any of it and tried again on a clean boot and got the same error.

如果需要的话,这将会发布整个消息,但希望有一些明显的东西我正在丢失。我尝试过重新安装JDK、重新启动、重新下载Eclipse、安装32位版本的Eclipse和JDK以及64位版本。我也在启动之前恢复了系统,然后在干净的引导上再次尝试,得到了相同的错误。

2 个解决方案

#1


9  

I just experienced a similar problem. Running the installer as administrator solved the problem for me.

我也遇到过类似的问题。以管理员的身份运行安装程序为我解决了这个问题。

So right click on the installer file (eclipse-inst-win64.exe) and then click on Run as administrator. Now just follow the prompts and you should be fine.

因此,右键单击安装程序文件(eclipse-inst-win64.exe),然后单击Run作为管理员。现在按照提示进行操作就可以了。

In case it matters, I did not update the installer, because it restarts and probably (i'm not sure) it won't restart in administrator mode.

如果重要的话,我没有更新安装程序,因为它重新启动,而且可能(我不确定)在管理员模式下不会重新启动。

Btw this was on a 64bit Windows 8.1 machine.

顺便说一句,这是一台64位的Windows 8.1机器。

Also have a look at these two threads:

也可以看看这两个线程:

#2


0  

Sometimes even installing with Administrator Privileges in C:/Program Files/ might cause errors like timeouts. It's always better to install in a partition other than the C Drive (Non Operating System Drive).

有时甚至在C:/Program Files/中安装带有管理员权限的文件也可能导致诸如超时之类的错误。最好安装在C驱动器(非操作系统驱动器)之外的分区中。

#1


9  

I just experienced a similar problem. Running the installer as administrator solved the problem for me.

我也遇到过类似的问题。以管理员的身份运行安装程序为我解决了这个问题。

So right click on the installer file (eclipse-inst-win64.exe) and then click on Run as administrator. Now just follow the prompts and you should be fine.

因此,右键单击安装程序文件(eclipse-inst-win64.exe),然后单击Run作为管理员。现在按照提示进行操作就可以了。

In case it matters, I did not update the installer, because it restarts and probably (i'm not sure) it won't restart in administrator mode.

如果重要的话,我没有更新安装程序,因为它重新启动,而且可能(我不确定)在管理员模式下不会重新启动。

Btw this was on a 64bit Windows 8.1 machine.

顺便说一句,这是一台64位的Windows 8.1机器。

Also have a look at these two threads:

也可以看看这两个线程:

#2


0  

Sometimes even installing with Administrator Privileges in C:/Program Files/ might cause errors like timeouts. It's always better to install in a partition other than the C Drive (Non Operating System Drive).

有时甚至在C:/Program Files/中安装带有管理员权限的文件也可能导致诸如超时之类的错误。最好安装在C驱动器(非操作系统驱动器)之外的分区中。