我安装了当前最新版本的 eclipse (202006) CDT。我尝试安装 DevStyle 插件并收到以下错误:
Cannot complete the install because some dependencies are not satisfiable
Software being installed: a.jre.javase 14.0.0
Software currently installed: C/C++ Autotools support 9.11.1.202004012023 (org.eclipse.cdt.autotools.feature.group 9.11.1.202004012023)
Cannot satisfy dependency:
From: C/C++ Autotools support 9.11.1.202004012023 (org.eclipse.cdt.autotools.feature.group 9.11.1.202004012023)
To: org.eclipse.equinox.p2.iu; org.eclipse.tools.templates.freemarker.java11 [1.1.100.202001140305,1.1.100.202001140305]
Cannot satisfy dependency:
From: Template Engine Freemarker Support (Java 11) 1.1.100.202001140305 (org.eclipse.tools.templates.freemarker.java11 1.1.100.202001140305)
To: osgi.ee; (&(osgi.ee=JavaSE)(version=11))
Run Code Online (Sandbox Code Playgroud)
这个错误消息对我来说相当神秘。我在这里看了类似的问题。但这指定了 Java 11 和 Java 14。我不知道这与我的 JRE 1.8.0_251(版本 8 更新 251)有何关系。我也不明白Java的新方案。Oracle不再发布JRE了吗?
我不需要用 Java 编程。我只需要运行时环境来运行 eclipse,所以我不想要/不需要完整的 JDK(特别是因为这似乎需要一些许可/商业方面)。我还相信我打算安装的其他插件也会遇到类似的错误。
所以这里有两个问题: