In this post, I will guide you how to add Java 14 support in Eclipse IDE version 2020-03. You know, JDK 14 was released on March 17th 2020 but at that time, the latest version of Eclipse IDE, Eclipse 2020-03, does not support Java 14 by default.

First, you need to install JDK 14 on your computer, either OpenJDK or Oracle JDK.

Then configure your current Eclipse IDE (version 2020-03/4.15.0) to run on JDK 14. Follow this post if you don’t know how.

Although you can run Eclipse under JDK 14, the Java compiler compliance level for your project is up to Java 13 only:

java compiler level 13

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:

install java 14 support for eclipse

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:



java compiler level 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:


About the Author:

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.



Add comment

   


Comments 

#2Bazarbay2023-02-06 22:14
хочу научиться программировать на JAWA
Quote
#1Prachi2020-06-02 16:14
Thank you for this.It helped me.
Quote