IntelliJ project migrates to Java 11
The source code of the IntelliJ project was recently migrated to Java 11. We still have some modules which are compiled to be compatible with older Java versions to support running users’ projects under these versions. However most of the platform and plugin modules use Java 11 now, and the upcoming 2020.3 versions of all IntelliJ-based IDEs will require Java 11 to start.
What does it mean for you? If you develop a plugin, you can use new language features and APIs from Java 11, but only if the
since-build attribute in
plugin.xml is set to
203. If your plugin distribution needs to run on multiple versions of the IDE, for example
203, then you should remain on Java 8.
If you want to compile the intellij-community project, you need to configure a JDK named
corretto-11 pointing to an installation of JDK 11. It’s recommended to use Amazon Corretto JDK, but other distributions based on OpenJDK should work as well. You may download it directly from the Project Structure dialog. Note that there is no need to set up JDKs
IDEA jdk anymore,
corretto-11 is used to compile all the modules utilizing the cross-compilation feature for those which target older Java versions.
IDEA run configuration which starts the IDE from sources now runs it under the JetBrains Runtime from the IntelliJ IDEA you’re working in. This way we ensure that IDE started from sources get improvements and fixes which are included into JetBrains Runtime but aren’t available in other OpenJDK-based distributions.
Subscribe to Blog updates
Plugin Developers Day 2024: Your Opportunity to Be Featured in Staff Picks
The end of January marks a significant celebration for us – Plugin Developers Day!Inspired by WordPress declaring January 28 as Thank a Plugin Developer Day, we initiated our own celebration to express gratitude to all those who develop plugins for JetBrains products. Thank you for enhancing the fun…
JetBrains Marketplace Highlights of 2023: Major Updates & Community News
Discover a brief overview of JetBrains Marketplace major updates throughout the past year in this blogpost.
Busy Plugin Developers Newsletter – Fall 2023
Read this blog post to discover what has come to JetBrains Marketplace this Fall!
Webinar Recording: Uploading a Plugin to JetBrains Marketplace
The recording of the latest episode of the Busy Plugin Developers webinar is now available on JetBrains TV. In this webinar, Natalia Melnikova from the JetBrains Marketplace team provided valuable insights into the plugin upload process. As a seasoned member of the team, she shed some light on th…