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

Java

1363 readers
2 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 10 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (3 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.

[–] [email protected] 5 points 1 year ago

Seconded. Really, anything but the oracle JDK.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 2 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.

[–] [email protected] 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.

[–] [email protected] 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).

[–] [email protected] 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.

[–] [email protected] 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/

[–] [email protected] 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.

load more comments
view more: next ›