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.
As you now, below are the Open JDK options we can choose from .
- Azul Zulu Communityβ’ 22 - ZuluArcher 22
- BellSoft Liberica JDK 22 - BellArcher 22
- Eclipse Temurin (AdoptOpenJDK HotSpot) 22 - TemurinSpot 22
- GraalVM Community Edition 22.0.0 - GraalBolt 22.0.0
- Oracle GraalVM 22 - OracleGraal 22
- Oracle OpenJDK 22 - OracleJDK 22
- SAP SapMachine 22 - SAPArrow 22
I have selected "Oracle OpenJDK 22 (aarch64)" as you see below.
Example:public class Example {
public static void main(String[] args) {
System.out.println("JDK Version: " + System.getProperty("java.version"));
}
}
Note: The preview features are turned off by default.
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Java,
- Deep Dive into Java 8 Predicate Interface
- Read and Parse XML file using Java DOM Parser [Java Tutorial]
- Java 8 Predicate Functional Interface isEqual() Method Example
- Convert Multidimensional Array toString In Java
- How to read int value using Scanner Class Java
- Spring Boot AI + LLM + Java Code Example
- Write to a File using Java Stream API
- Implementing Bubble Sort Algorithm using Java Program
- How to Fix XmlBeanDefinitionStoreException in Java SpringBoot ApplicationConfig.xml
- YAML Parser using Java Jackson Library Example
- [Fix] java: integer number too large compilation error
- Convert JSON String to Java GSON Object Example
- Read a file using Java 8 Stream
- Java Spring Boot 3 Web Hello World with Gradle in IntelliJ
- Ways Compare Dates in Java Programming with Examples
- Pretty Print JSON String in Java Console Output
- Java JDBC with Join Queries Example
- How to Check For Updates on Windows 11 (Step-by-Step)
- [Fix] java.net.MalformedURLException: unknown protocol
- How to display date and time in GMT Timezone in Java
- Error: LinkageError occurred while loading main class UnsupportedClassVersionError [Eclipse Java]
- How to convert a String to Java 8 Stream of Char?
- RabbitMQ Queue Listener Java Spring Boot Code Example
- 5+ Fibonacci number Series Java Program Examples [ 0 1 1 2 3 ..]
- Handling NullPointerException with Java Predicate
More Posts:
- Java JDBC Select Multiple Records from table as List using PreparedStatement - Java
- Docker Commit Command with Examples - Docker
- How to make ZSH as the default shell on Ubuntu - zsh
- Add new user in Ubuntu Linux using Terminal Command - Ubuntu
- Check SSH/OpenSSH version Command - Linux
- Opening mac Terminal - MacOS
- How to Transpose a Square Matrix - Java Program - Java
- How to word wrap in HTML - Html