Which version of java should i download






















Let's talk about what version of the JDK we should be using. You'll note that there are a lot of different vendors who each produce a version of their own Java Development Kit. We're not gonna talk about that in today's blog post. Now, we've got vendors like Oracle, Amazon, IBM, Red Hat, just to name a few, so they each produce their own version of the Java Development Kit but using the same version numbers so I need to create a separate post outlying which version or which vendor you should choose.

In this post, we'll stick to purely the version number you should be using so check outside this blog post, you'll see that on this website when I release it which will be the next article after this one. For now, let's talk about again which version of the JDK you should be using.

A new version of the JDK gets released, as I mentioned earlier, every six months. Now, when that new version is released at the expiry of the six months, the previous one expires. In other words, it's no longer supported and another version is basically released which takes its place. The thing to remember with the older version, is it no longer gets updated so you need to be careful in terms of which version you're choosing, for that reason.

JDK 11 got released in September but I'll come back to that shortly. Going back to JDK version 11, I mentioned it was released in September , but it's designated as the LTS, or Long-Term Support version of Java and consequently is gonna be supported with updates and commercial support if you want it, until at least Tthe reason that I'm bringing all this up is that large companies, software development firms and also large companies with an investment in Java, will generally use this version, the long-term support version because of that support but also to ensure that they don't have to chop and change their code base dramatically every six months.

Supporting each release of a JDK might be minor for a relatively small code base, if you haven't got a lot of source code, but if the existing code base is large and obviously, with a large company, they probably made significant investment in Java over the years, it might be a significant effort just maintaining compatibility with new releases of the Java Development Kit.

Basically these larger companies have to balance that against adding new features of the software and that's obviously what their clients want. Usually, they're not particularly interested in which version of the JDK the software happens to be support or run under, they just want the new features that are being added. So, for this reason, large companies will stick to JDK 11 as a rule and that's because it's supported until at least but also there's no new features of the language introduced there.

My informal tests running servlet and JSF applications compiled with Java 12, but with the Maven settings for the compiler source and target to 1. They are built almost completely from the same source code.

Java does not need to be installed on any platform. All an installer does is unzip and write the optional system configuration to the OS for you. If you are just starting to code in Java, then use the most recent version. If you are using Java, then update to the most recent version. See the original article here. Thanks for visiting DZone today,. Edit Profile. Sign Out View Profile. Over 2 million developers have joined DZone. Whether you are just starting to use Java, or have been using Java for years, switch over to the most recent version — it's as simple as that.

Like Join the DZone community and get the full member experience. Join For Free. Conclusion If you are just starting to code in Java, then use the most recent version. There are many new features including some affecting the core of the product. New features inevitably mean new bugs, thus the safer approach is wait.

Anyone currently running the previous version of Java 1. To see which version, if any, you have installed simply visit Javatester. If, however, you have an older version of Java installed, then you should update it to 1. Java 6 Update 7. You can download the older version of Java at java. Click on the "Download JRE" link. If and when the time comes that you need one of the new Java features, that's the time to upgrade. Chances are, that by that time, the new features may have had a bug or two fixed.

One exception, is anyone using Google's Chrome browser, which requires the latest version 1.



0コメント

  • 1000 / 1000