Over a million developers have joined DZone.

Java Version Statistics: 2015 Edition

Learn more about how the Java language, tools and frameworks have been the foundation of countless enterprise systems, brought to you in partnership with Salesforce.

This is now third year when we publish statistics about the the Java landscape. Every year, during springtime, we dig into the data that we have gathered from the JVMs Plumbr Agents have monitored, and find out:

  • Which Java versions are being most commonly used (Java 6 vs Java 7 vs Java 8)
  • Which Java EE containers are the most widespread (Tomcat vs Jetty vs … )
  • Which JVMs are most frequently used (Oracle Hotspot vs OpenJDK vs Rest Of The World)

This year our conclusions are based on 758 different JVMs that Plumbr monitored during February and March 2015. The data has been gathered from within the JVM via System.getProperty() calls with os.archos.version, java.version etc.

Which Java versions are being used most in 2015?

Notably, 2015 was the first year when we saw exactly zero Java 5 instances. The following chart displays the current market share in regards of the Java 6, 7 and 8 versions:

Java version statistics 2015

It is nice to see that old is making room for the new – one in five JVMs is already running on Java 8, which is a significant improvement over the last year.

Java version adoption rate over time

It is even more interesting if we look at the trends over time. Aggregating the data over the past three years, we can see the following trends forming:

Java 6, 7, 8 adoption over time

Java 5 is clearly gone for good and shows no signs of returning from the dead. Java 6 is also being phased out – based on the above we can predict that by 2016 the Java 6 share of the market will be dropped to below 10% of the JVMs out there.

Java 7, while still leading the pack, has peaked and is already giving way to Java 8, so we expect Java 8 to be the most widely used JVM by the time we will analyze the market again in 2016.

Ancient versions are still in use

Considering the fact that Java 7 EOL is in April 2015, every JVM out there still using Java 7 might be considered legacy, but looking in more details to what versions are being used of the Java 7, the picture looks even scarier:

Java 7 minor version statistics

The above chart of about 450 unique JVMs clearly shows that version updates are not being woven into the maintenance processes of many companies. There are still applications out there using Java 7 versions released more than four years ago.

Or, to look at the problem from another perspective – 20% of the JVMs running on Java 7 are using pre 1.7.0_45 versions that are known to contain more than 100 known security bugs, which have been fixed since then. Not to mention performance and stability updates, the security aspect alone should motivate you to update more frequently.

The statistics about the Java EE container popularity and JVM vendors will be published soon. 

Discover how the Force.com Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services, brought to you in partnership with Salesforce.


Published at DZone with permission of Nikita Salnikov-tarnovski, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}