Yeah I agree we should be using 17 except Gradle still does not support it, despite having been out for an entire month... https://docs.gradle.org/current/userguide/compatibility.html
Which version of JDK should I use?
11–20 of 258 posts
Re: Which version of JDK should I use?
#12Re: Which version of JDK should I use?
#13For those of us supporting more than a few legacy apps, use the oldest version (7 in our case) because then there's less chance of things going wrong (depends, of course, whether you bill per support call or a fixed annual fee).
Re: Which version of JDK should I use?
#14I'd like to see more of a rationale for not using Corretto on non-AWS servers. What's wrong with it?
Re: Which version of JDK should I use?
#15What is this naming? Embarrassing levels of bad "Adoptium Eclipse Temurin OpenJDK "
Adoption is the project umbrella under the Eclipse Foundation. Temurin is the project. OpenJDK is the artifact. https://projects.eclipse.org/projects/adoptium > The mission of the Eclipse Adoptium Top-Level Project is to produce high-quality runtimes and associated technology for use within the Java ecosystem. We achieve this through a set of Projects under the Adoptium PMC and a close working partnership with extern…
Eclipse Temurin 17 or Temurin JDK 17 should be sufficient.
Re: Which version of JDK should I use?
#16A section called "For production use this" or "if you don't know what you're looking for, use this". And "this" can be a particular version (Ubuntu 20.04.6) or a rule of thumb (for production, always use x.y.1 version or above).
Or it can be a table like this one. Django is, as it is in many fields, the gold standard in this regard.
It gets confusing sometimes. Yesterday I was trying to update the python version of one of my applications and was wondering; should I do it now, or do I need to wait for 3.10.1? I did it anyway because the app barely gets traffic anyway, but more clarity is always welcome.
Re: Which version of JDK should I use?
#17Yeah I agree we should be using 17 except Gradle still does not support it, despite having been out for an entire month... https://docs.gradle.org/current/userguide/compatibility.html
If you switch your Gradle buildscript files over to being written in Kotlin, the problem goes away, as Kotlin's runtime doesn't seem to use any similar explicit checks.
(Doing so also allows you to go further and test out EA JVM builds, e.g. Project Loom, which Groovy-based buildscripts have never been, and will never be, happy with.)
Re: Which version of JDK should I use?
#18It really is quite incredible what a mess has made of the clear stability of Java and what to get since Oracle took over.
Re: Which version of JDK should I use?
#19Yeah I agree we should be using 17 except Gradle still does not support it, despite having been out for an entire month... https://docs.gradle.org/current/userguide/compatibility.html
Re: Which version of JDK should I use?
#20Why its recommends against using OpenJDK builds by Oracle? Does it come with the same licensing restriction as Oracle JDK?