Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 487
Geyser14 Avatar asked Sep 17 '25 02:09

Geyser14


2 Answers

Basic support for Java 17 is available in IntelliJ IDEA 2021.2.1

like image 196
Nagaraju Chitimilla Avatar answered Sep 18 '25 18:09

Nagaraju Chitimilla


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.

like image 33
Geyser14 Avatar answered Sep 18 '25 18:09

Geyser14