So to enable Java compiler compliance level 14, you need to install a plugin for Eclipse. Click menu Help > Eclipse Marketplace… Type java 14 into the search box and hit Enter. You will see the result as below:
You can see, the first result is “Java 14 Support for Eclipse 2020-03 (4.15)”. Click Install and follow the steps. Then you must restart Eclipse.Finally, you will see the Java compiler level is set to 14:
Enjoy experimenting new language features in Java 14 now.This guide applies for Eclipse 2020-03 only. Older versions of Eclipse are not supported, and future releases will support Java 14 by default.You can also watch the video version below: You may be also interested in these posts:Other Eclipse Tutorials:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.