Eclipse 2018-09在Windows 10上使用OpenJDK 11 [英] Eclipse 2018-09 with OpenJDK 11 on Windows 10

查看:2693
本文介绍了Eclipse 2018-09在Windows 10上使用OpenJDK 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Windows 10上安装了 JDK 11一般可用性版本的OpenJDK版本。尝试在刚刚发布的Eclipse 2018-09(4.9.0)中将其安装为JRE,并在Eclipse对话框中显示一条消息:

I just installed the OpenJDK version of the JDK 11 General-Availability Release on Windows 10. I tried to install it as a JRE in the just-released Eclipse 2018-09 (4.9.0), and a message appared in the Eclipse dialog saying:


您选择了此版本的Eclipse JDT尚未完全支持的JRE。某些功能可能无法正常工作。

You selected a JRE that this version of Eclipse JDT does not yet support fully. Some of the features may not work as expected.

有什么问题?


  • Eclipse 2018-09不完全支持JDK 11吗?

  • 或者Eclipse不完全支持OpenJDK 11但支持Oracle JDK 11 ?

  • 具体哪些功能可以不按预期工作?

更新:从互联网搜索中,我发现了一些代码似乎表明Eclipse具有已知Java版本的内部列表,如果新JDK版本的版本高于已知Java版本,则它会给出上述消息。 (这就是我解释代码的方式。)真的吗?在JDK 11发布前几天,Eclipse推出了一个新的2018-09版本,没有更新其已知Java版本列表以包含Java 11 ??

Update: From an Internet search, I found some code that seems to indicate that Eclipse has an internal list of known Java versions, and it gives the above message if the new JDK version has a higher version than the known Java versions. (That's how I interpret the code.) Really? Eclipse launched a new 2018-09 version, just days before JDK 11 was released, without updating its list of known Java versions to include Java 11??

也许某人有一个更权威的答案。

Maybe someone has a more authoritative answer.

推荐答案

Eclipse 2018-09不支持开箱即用的JDK 11,而是JDK的官方插件11现已在市场上发布:

Eclipse 2018-09 doesn't support JDK 11 out of the box, but the official plugin for JDK 11 has now been released on the market place:

https://marketplace.eclipse.org/content/java-11-support-eclipse-2018-09-49

以下是发布公告: https://www.eclipse .org / lists / jdt-dev / msg01049.html

支持OracleJDK和OpenJDK的方式相同(OpenJ9等其他JDK也可以使用)

OracleJDK and OpenJDK are supported in the same way (Other JDKs like OpenJ9 should work, too)

如果不支持新的JDK版本,则无法使用其新的语言功能和由于类格式的更改,您可能无法将其全部用于开发。启动可能会起作用。

If a new JDK release is not supported, you cannot use its new language features and you may not be able to use it all for development because of class format changes. Launching is likely to work.

这篇关于Eclipse 2018-09在Windows 10上使用OpenJDK 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆