TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Should I jump to OpenJDK 11 now that support for 8 is running out?

13 pointsby pc2g4dover 6 years ago
My understanding is that OpenJDK 8 will no longer receive updates after January 2019. Most of my Java code targets Java 7 and some Java 8. What would be the consequences for me of jumping to the OpenJDK 11? How does it do with lower source levels? Are there any gotchas I should be aware of?

4 comments

vkakuover 6 years ago
It is a good time to jump to Java 11. It may not be too difficult getting the code to run per se, unless you are using CORBA and some really old tech. It would also be a good idea to invest some time into the launcher scripts and modular packaging in your application.<p>However, it is high time you consider taking up a non Oracle distribution if you are looking for support. Rely on any distribution you can build yourself than going for a vendor downloadable distribution like Corretto. No vendor lock ins, even the benevolent ones.<p>My current favorite is <a href="https:&#x2F;&#x2F;github.com&#x2F;AdoptOpenJDK" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AdoptOpenJDK</a><p>I&#x27;m keeping a watchful eye on if any of these repos close&#x2F;lose support. If anything of that sort happens, I&#x27;m ready to drop Java and rewrite it.
bigiainover 6 years ago
Amazon have committed to providing security updates to their build of OpenJDK version 8 (called Corretto) a until &quot;at least June 2023&quot;<p><a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;corretto&#x2F;faqs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;corretto&#x2F;faqs&#x2F;</a><p>So things aren&#x27;t as dire as &quot;support stops in 3 weeks!!!&quot;. But moving to 11 isn&#x27;t a bad idea anyway, since you&#x27;re going to have to do so sometime anyway. (interestingly Amazon have (so far) only committed to updates for Corretto 11 until August 2024...)
fiftyacornover 6 years ago
It depends on the application -<p>are you using app servers? will you need to migrate&#x2F;upgrade those? Are all your dependencies J11 compliant?<p>Its a reasonably big jump from JDK8 -&gt; post-9 with modules. But should be doable
pragmaticlurkerover 6 years ago
yes, jump to 11 (nearly approaching the 12)