简体   繁体   中英

How to set jdk compiler compliance level to 10?

I wish to compile my code with jdk 10 using eclipse IDE. For this I have added jdk-10.0.1 to installed jres and have selected that as my default

杰瑞10 .

But in the compiler compliance level I do not get 10 in the dropdown. 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

下拉菜单中的9 .

Question

How can I compile my code using java 10 with eclipse, since we need an upgrade from java 8 to java 10.

Java 9 support not available

Eclipse photon download link

Yes it worked with the latest version of oxygen eclipse. Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM