Java 17 breaks all popularity records, finally overtaking the iconic Java 11

Father

Professional
Messages
2,602
Reaction score
854
Points
113
Companies are in no hurry to upgrade to new versions of the toolkit, but progress can't be stopped.

According to a recent report by New Relic, Java 17 LTS has become the most popular version of the Java programming language with long-term support, overtaking Java 11 LTS. The transition to version 17, released in September 2021, demonstrates the desire of large companies to innovate, despite the caution in choosing technologies.

The latest LTS version of Java-21, released in September 2023, is currently only used in 1.4% of applications. However, this figure is significantly higher than it was for Java 17 LTS six months after release, which was only 0.37%.

The New Relic report for 2024 notes that the Java ecosystem is adapting to new technologies faster than before. So, Java 17 LTS is already used in 35% of applications, which is three times higher than it was in 2023. For comparison, it took much longer to achieve similar indicators in Java 11 LTS, and now the share of this version of Java is just under 33%.

kbl7gyrn5977v2p6aizim6pweyram5da.png


The report also points to changes among JDK vendors. Oracle, which was the market leader in 2020 with a share of about 75%, faced a decline in popularity after the JDK 11 license change. In 2023, the share of Oracle decreased to 29%, and in 2024 - to 21%.

Amazon, on the other hand, is seeing its OpenJDK distribution Corretto grow from 2.2% in 2020 to 31% in 2023. However, by 2024, its share had fallen to 18%.

The rising star was Eclipse Adoptium, whose market share increased by 50% over the year, reaching 18% in 2024. This success is due to the fact that Adoptium is managed by the community and is updated more frequently than the JDK from Oracle and Amazon.

mmgbwiz0snp5hy8qxrg5116wnc8ujj5e.png


With the shift in workloads towards cloud technologies, New Relic experts have noticed an increase in the number of Java applications running on four or fewer cores. This has implications for the choice of memory management system in Java, where it may be preferable to use a Serial Garbage Collector for single-core instances, despite the potential performance penalty.

Finally, the report highlights Log4j as the leading logging library used in 76% of Java applications. Among encryption libraries and databases, Bouncy Castle and Oracle Database are leading, respectively.
 
Top