this post was submitted on 18 Jun 2023
8 points (100.0% liked)

Java

1395 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
 

Interested in what folks use. I stick to temurin unless guaranteed to deploy in AWS then I use corretto.

top 11 comments
sorted by: hot top controversial new old
[–] pohart@lemmyrs.org 4 points 1 year ago (4 children)

I use temurin, but you're really okay with anything but oracle's jdk. You want to do what you can to avoid an Oracle audit.

[–] Vipsu@lemmy.world 1 points 1 year ago

I've mostly used Adoption Temurin / OpenJDK at work and they've worked fine. Other than that maybe JDK from RedHat if you do a lot of enterprise work that relies on their other products.

[–] fabian@programming.dev 1 points 1 year ago

Seconded. Really, anything but the oracle JDK.

[–] RandomDevOpsDude@programming.dev 1 points 1 year ago* (last edited 1 year ago)

Sometimes the audit is unavoidable. Recently went through one, and my first thought was "wait, people still use oracle jdk?". Thankfully not my job to deal with, but I guess some companies never migrated off which blows my mind, but, to each their own I guess. Oracle is coming around looking for a paydays.

[–] Sheldan@programming.dev 1 points 1 year ago (1 children)

I still cant believe that oracle did it that bad, that people switched off the JDK just entirely

[–] pohart@lemmyrs.org 1 points 1 year ago* (last edited 1 year ago)

The jdk itself is fine, but the licensing terms are ridiculous. To their credit they waited to implement the terrible terms until there were multiple drop-in replacements.

[–] JackbyDev@programming.dev 2 points 1 year ago

Yeah, whenever I have a choice I use Temurin. Adoptium (formerly AdoptOpenJDK) deserves credit for making Windows builds of OpenJDK very easy to use.

[–] Hesham_SHY@vlemmy.net 2 points 1 year ago* (last edited 1 year ago)

I usually go with temurin, I like there policies.

About what version should you use, if you are deploying whatever you are doing, i would stick to the latest TLS(Currently 17). But if you are trying to make an app that expects people to have a JRE, then probably using the 8 TLS would be a better option and easier for users to deal with (Unless you are targeting programmers or linux users, then again, latest TLS would be imo best option).

[–] JackbyDev@programming.dev 1 points 1 year ago

There was another JDK, I think Azul but I might be totally wrong, that had a unique feature (in the non open version I believe, sadly) where garbage collection (or some other event) only stopped individual threads instead of all of them at once.

[–] wakingrufus@programming.dev 1 points 1 year ago

I like temurin, but for docker base images, I use Corretto as Amazon is much better about keeping it patched than the standard Temurin base image.

[–] austin@programming.dev 1 points 1 year ago

basically anything besides Alibaba or Oracle you probably won’t notice a difference. at work I use corretto since we deploy on aws, at home I either use Temurin or Corretto. One thing benefit of Corretto is they do tend to backport some patches to older versions if you aren’t able to use the latest yet. https://whichjdk.com/

load more comments
view more: next ›