Eclipse v4.17不兼容的JVM – 回退到v4.16

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

Eclipse v4.17 incompatible jvm - revert to v4.16

问题

我之前安装了 Eclipse 4.16,并下载了升级到 4.17 的更新。然而,这个版本的 Eclipse 与 Java 1.8 不兼容。我能否回退到 4.16 版本?我查阅了一些问题,但没有找到适用的答案。

英文:

I had eclipse 4.16 and downloaded update to 4.17. This version of Eclipse is however incompatible with java 1.8. Can i go back/ revert to to version 4.16? I read some questions but i didnt find answer I could apply

答案1

得分: 1

  1. 你需要修改 eclipse.ini 文件,因为当你运行新版本的 eclipse 时,它会提示你的 Java 版本不兼容。对我来说,版本 1.8 起到了作用并保存在 eclipse.ini 中。
  2. 运行 eclipse。它应该能够运行,但你可能看不到你的工作区。转到 帮助 -> 关于 没有工作区的 eclipse
  3. 在关于窗口中,点击“安装详细信息” 在这里输入图片描述
  4. 在那里,点击“安装历史”选项卡,找到你偏好的版本,然后点击还原 在这里输入图片描述
  5. 一段时间后,它会完成,可能会提示“安全警告”。如果你知道自己安装的内容是安全的,请点击仍然安装 安全警告
  6. 完成。现在你可以再次运行 eclipse。
英文:
  1. You need change eclipse.ini because when you run new version of eclipse it will prompt you that you have incopatible version of java. For me version 1.8 did a trick and save
    eclipse.ini

  2. Run eclipse. It should run but you will probably wont see your workspace. Go Help -> About
    eclipse without worspace

  3. In About window click Installation Details
    enter image description here

  4. There click Installation History tab and find your preferable version and click revert
    enter image description here

  5. After a while it finish and probably prompt you Security Warning. Click install anyway if you know what you installing is secure
    security warning

  6. Profit. You can run your eclipse again

huangapple
  • 本文由 发表于 2020年9月17日 17:35:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/63935233.html
匿名

发表评论

匿名网友

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

确定