News on September 20th, yesterday evening, Oracle officially released the new Java 21 version and the corresponding JDK 21 development kit. This version is claimed to be the latest long-term support (LTS) version since JDK 17 and will provide full support for at least 8 years.
Java has long been the language and platform of choice for developing robust, scalable and secure applications, used by organizations and millions of developers around the world. Oracle Georges Saab, senior vice president of the Java Platform and chairman of OpenJDK, said that Java 21 introduces many powerful features that are expected to allow developers to build excellent applications more efficiently. In addition, Oracle also announced that it will extend its support for Java software released five years ago. 11, support will be extended until January 2032.
According to the editor’s understanding, Java 21 brings many performance, stability and security improvements. The new JDK 21 release includes 15 improved early access features, including support for virtual threads to improve overall throughput and added support for the Vector Application Programming Interface (API), which will enable building applications involving artificial intelligence (AI) models. Java applications are easier
In addition, Java 21 also introduces a new Generational ZGC garbage collection mechanism, which will help improve garbage collection performance and predictability. In order to lower the learning threshold of Java and facilitate educators to gradually introduce programming concepts, Java 21 also supports undeclared classes, variables, instance main methods, etc., which is equivalent to relaxing part of the strong type design, making it easier for beginners to get started with Java programming.
The above is the detailed content of Oracle announces extension of long-term support for Java 11 until 2032, with Java 21 leading future trends. For more information, please follow other related articles on the PHP Chinese website!