The Java JDK 21 is the latest LTS version of Java which is now available with IDEA IntelliJ IDE - the most popular IDE for Java and Kotlin app development.
To work with Java OpenJDK 21, you can download the latest version of IntelliJ Community or Ultimate version from JetBrains download page - https://www.jetbrains.com/idea/download
When you create a new project, you will see JDK - 21 Oracle OpenJDK version 21 being selected.
If you are using an older version of IntelliJ, you can select from the dropdown - "Add SDK -> Java JDK" and choose Java 21, or choose JDK that you have downloaded on your device.

This is not an AI-generated article but is demonstrated by a human on IntelliJ IDEA 2023.2.2 (Ultimate Edition) on a M1 Mac running macOS Sonoma 14.0.
Please support independent contributors like Code2care by donating a coffee.
Buy me a coffee!

Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!