Eclipse 2019-09 无法启动。

huangapple go评论48阅读模式
英文:

Eclipse 2019-09 is not starting

问题

我已在我的系统(Windows 10 64位)中下载了Eclipse的ZIP文件,将其复制粘贴到C:/驱动器中,并单击Eclipse图标。它显示了一个错误消息:"发生了错误,请参考日志文件"。我尝试删除了.metadata文件夹,以及在CMD中运行了命令"eclipse -clean",但都没有解决问题。在我的系统中,安装了Java 11.0.8版本。我检查了Java版本,它是64位的,并通过CMD编译和执行了一个小程序,它正常运行。我尝试了各种方法,但都没有找到解决方案。WriteXo的日志文件链接如下。请帮助。

https://writexo.com/bywc7f9

英文:

I have downloaded the eclipse ZIP folder in my system(windows 10 64 bit) , copy paste it in C:/ drive and clicked the eclipse icon. It shows an error " An error has occured, please refer to the log file" . I had tried deleting .metadata folder , running command "eclipse -clean" in CMD.
In my system java 11.0.8 has installed. I checked java version it is 64bit and compiled and executed a small program through CMD , it was working fine. I have tried every method but didn't get the solution. The log file link of WriteXo is below. Please help.

https://writexo.com/bywc7f9

答案1

得分: 2

日志显示您正在使用 Eclipse Neon.3 (4.6.3) (eclipse.buildId=4.6.3.M20170301-0400),而不是 Eclipse 2019-09 (4.13),它太旧无法与 Java 11 (java.version=11.0.8) 兼容。当前的 Eclipse 版本是 2020-06 (4.16),支持 Java 8 及更高版本(包括 Java 11)。

英文:

The log says you have Eclipse Neon.3 (4.6.3) (eclipse.buildId=4.6.3.M20170301-0400), not Eclipse 2019-09 (4.13), which is too old to work with Java 11 (java.version=11.0.8). The current Eclipse version is 2020-06 (4.16) and works with Java 8 and higher (including Java 11).

答案2

得分: -1

不要尝试在6个月的JVM上运行6岁的Eclipse。

这实际上是JDK14中的一个错误(但是是一个故意引入的错误,并且在JDK版本10中引入)。Eclipse已经解决了这个错误自2016年中期以来,所以解决方案似乎是:立即下载来自eclipse.org的Eclipse提供的版本,问题就会消失。或者,可以从adoptopenjdk.net下载JDK8,并在其上运行。

英文:

Don't try to run a 6 year old eclipse on a 6 month old JVM.

This is effectively a bug in JDK14 (but an intentional one, and introduced in JDK version 10). Eclipse has worked around this bug since mid 2016, so the solution would appear to be: Download the eclipse offered on eclipse.org right now, and this problem will go away. Alternatively, download a JDK8, for example from adoptopenjdk.net and run it on that.

huangapple
  • 本文由 发表于 2020年7月30日 23:19:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/63176312.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定