OpenJDK 17 GA Release in IntelliJ: Why no v17 language level? Only "X - Experimental Features"

6.3k Views Asked by At

I just downloaded the Oracle OpenJDK 17 GA LTS release and installed it into IntelliJ. I've selected the jdk v17 as my Project SDK and am attempting to set my project language level also to v17, but the only choices are version 1.3 thru 16, along with an SDK Default of "X - Experimental Features". Where is language level version 17?

enter image description here

2

There are 2 best solutions below

0
On

Basic support for Java 17 is available in IntelliJ IDEA 2021.2.1

0
On

Should have realized this sooner, but it turns out that the language level in IntelliJ is a function of the actual language support that the current version of IntelliJ has built in and does not come from the JDK. My IntelliJ version was 2021.1.3. I upgraded to 2021.2.1 and the basic 17 language support appeared. More JDK 17 support to be added later per this article on The IntelliJ IDEA Blog.