Development IntelliJ News

IntelliJ Project Migrates to Java 17

The source code of the IntelliJ project was recently migrated to Java 17. We still have some modules compiled to be compatible with older Java versions so we can support running users’ projects under these versions. However, most of the platform and plugin modules now use Java 17, and the upcoming 2022.3 versions of all IntelliJ-based IDEs will require Java 17 to start.

What does this mean for you?

If you develop a plugin, you can use new language features and APIs from Java 17, but only if the since-build attribute in plugin.xml is set to 223. If your plugin distribution needs to run on multiple versions of the IDE, for example, 2022.3 and 2022.2, then you must continue to use Java 11.

If you want to compile the intellij-community project, just invoke the Build Project action. IntelliJ IDEA will suggest you automatically download JetBrains Runtime 17 and set it as a project JDK.

image description