[英]How to set jdk compiler compliance level to 10?
I wish to compile my code with jdk 10 using eclipse IDE. 我希望使用Eclipse IDE使用jdk 10编译我的代码。 For this I have added jdk-10.0.1 to installed jres and have selected that as my default
为此,我将jdk-10.0.1添加到已安装的jres中,并将其选择为默认设置
.
。
But in the compiler compliance level I do not get 10 in the dropdown. 但是在编译器合规级别中,下拉菜单中没有10。 If only I could download java 9 which is currently not possible I could have compiled the same using java 9. Also eclipse photon which is the latest one available does not have java 10 in the dropdown
如果只能下载目前无法实现的Java 9,则可以使用Java 9进行编译。此外,最新的Eclipse光子在下拉列表中没有Java 10。
.
。
How can I compile my code using java 10 with eclipse, since we need an upgrade from java 8 to java 10. 由于我们需要从Java 8升级到Java 10,因此如何使用带有Eclipse的Java 10来编译代码。
Yes it worked with the latest version of oxygen eclipse. 是的,它可以与最新版本的日食一起使用。 Thanks
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.