
What New Java Versions Were Released? Let’s Review the Latest Java Editions
Newer Java versions now follow every 6 months. This year we saw the release of Java 18 in March and Java 19 in September. Take note that these are non-LTS versions: the latest *LTS edition, Java 17, was released in March 2021. *LTS versions ensure only stability, security, and performance improvements but not new features. This is done to reduce the risk that an update might break interaction with a tool or library. It’s worth emphasizing that before 2018, Java release cycles were much longer and might take up to 5 years. Yet, the world has become more dynamic, so to compete and succeed in today's turbulent IT environment, Java comes with upgrades much more frequently than later.
Java 18. What’s New?
If you’re wondering what shifts or changes we could see with Java 18 release, here they are:UTF-8. Before Java 18, the operating system encoding was used for reading files without specifying an explicit character ending. No longer. UTF-8 became the default character set on all operating systems.
The jwebserver command. By using this command, users can quickly start a rudimentary web server.
The @snippet tag. With the help of this tag, you’ll be able to integrate source code snippets into your JavaDoc documentation.
"Internet-Address Resolution SPI." Using this, QA specialists can replace the standard resolver for IP addresses.
Added preview and incubator features "Pattern Matching for switch," "Foreign Function & Memory API," and "Vector API."
Simplified Web Server. Java 18 came with a rudimentary HTTP server that can be started with: jwebserver.
Java 19. What’s New?
Java 19 boasts a lot of novelty features to offer to its users. Yet, among the most exciting ones, we can highlight:- Record Patterns capability to extend pattern matching and express more sophisticated data queries.
- JEP 424, a new non-Java API for Foreign Memory Access.
- JEP 426 to improve performance with an API to express vector computations.
State of Other Java Versions in 2022
There have been several significant changes in Java versions over 2021 and 2022. Many companies have shifted a large portion of their applications to Java 11. According to the New Relic report, in March 2020, 84.48% of applications run in Java 8. Now 48.44% of applications are in Java 11 vs 46.45% of applications in Java 8. Why are many companies still stuck with Java 8? There’s a mix of different reasons, from practical issues (upgrading your tools, libraries, frameworks) to policy issues.

Java Developer Kit (JDK) Distributions in 2022
As Oracle’s popularity is decreasing, Amazon’s popularity is growing. In 2020, Oracle was the most popular vendor of JDK distributions, comprising roughly 75% of the Java market, but now its share has halved. Amazon has swiftly jumped to 22% of the market this year – up from 2.18% in 2020.
Other Important Upgrades in Java World 2022: Spring Framework 6, Spring Boot 3, and Jakarta EE 10 Release
When it comes to Java-related news, we couldn’t skip the releases of Spring Framework 6 and Spring Boot 3. VMware developed the new Spring Framework 6 for five years and with its release, VMware has probably started a new generation for the Spring ecosystem. Spring Framework 6 requires Java 17 version and Jakarta EE 9. Plus it supports the freshly-released Jakarta EE 10, which makes it compatible with the latest web servers like Tomcat 10.1, Jetty 11, and Undertow 2.3. The new Spring Boot 3, in turn, is compatible with Spring Framework 6 and has support for producing native executables (start more swiftly, use less memory, have tinier container images, and better security). Hence, Java became more competitive in the cloud. Speaking about Jakarta EE 10, its release goes hand in hand with Java 19 upgrade - September 2022. It aims to deliver a combo of specs for creating modernized, simplified, and lightweight cloud-native Java apps across the spectrum of Jakarta EE technologies. That is to say, Jakarta EE 10 really differs from its predecessors and provides new functionality in over 20 component specifications.2022 Rankings in Details
This overview would be incomplete without glancing at top programming charts and Java positions this year: According to the RedMonk Programming Language Ranking of June 2022, Java holds its honorable 3rd place.



GO TO FULL VERSION