Using Java JDK 22 with IntelliJ IDE


Java JDK 22 is the latest version of Java that was just released on 19th March 2024.

If you make use of IntelliJ IDEA IDE, you can make use of the JDK 22 by following the below steps.

Download JDK Option IntelliJ

As you now, below are the Open JDK options we can choose from .

  1. Azul Zulu Communityβ„’ 22 - ZuluArcher 22
  2. BellSoft Liberica JDK 22 - BellArcher 22
  3. Eclipse Temurin (AdoptOpenJDK HotSpot) 22 - TemurinSpot 22
  4. GraalVM Community Edition 22.0.0 - GraalBolt 22.0.0
  5. Oracle GraalVM 22 - OracleGraal 22
  6. Oracle OpenJDK 22 - OracleJDK 22
  7. SAP SapMachine 22 - SAPArrow 22

I have selected "Oracle OpenJDK 22 (aarch64)" as you see below.

Installing Oracle OpenJDK 22 aarch64
Example:
public class Example {

    public static void main(String[] args) {
        System.out.println("JDK Version: " + System.getProperty("java.version"));
    }
}

Output: JDK Version: 22

Note: The preview features are turned off by default.

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright Β© Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap