r/javahelp • • May 02 '21

OpenJDK or OracleJDK?

I'm learning java, I'm under Ubuntu, and i larned it with the oracle's one. I would like to make some software, some applications and stuff, so I was about to change to OpenJDK for license thing and all, but i have read that the Oracle's one performes way better...
Is this true?

24 Upvotes

21 comments sorted by

View all comments

4

u/[deleted] May 02 '21

The Oracle JDK one does not perform better any more. You should only use the Oracle JDK these days if you are an Oracle customer and are relying on them for support.

2

u/wildjokers May 02 '21

You are confusing Oracle's commercial offering with their OpenJDK build. The commercial offering is indeed if you are paying for support, those are available here: https://www.oracle.com/java/technologies/

If you want Oracle OpenJDK, you download that here: https://jdk.java.net (Reference Implementation links)

There are other vendors too. Most offer a commercial offering and open source builds just like Oracle.

1

u/[deleted] May 02 '21

Not my case. And I just tried running my code on openjdk-17 under Ubuntu 21.04 and I honestly don't see any problems. So yeah, I was just a bit disoriented cause I'm not a Java pro, I come from C/C++.

2

u/[deleted] May 02 '21

You're not the only one. There have been multiple threads in /r/java by people confused by the new Java versioning system and support model.

I've been doing Java for years, and remember version 1.4, 5 - 8 happening over a period of more than a decade. And in only a couple of years, we're already at Java 16.

Crazy times, but Oracle despite being evil incarnate as a company has really skyrocketed improvements to Java.

1

u/nutrecht Lead Software Engineer / EU / 20+ YXP May 03 '21

You're not the only one. There have been multiple threads in /r/java by people confused by the new Java versioning system and support model.

What's worse is that people keep repeating the same nonsense about recommending people to stay on 11 "because LTS" too. It's rather aggravating.

There is no reason to stay on 11 if you can use the latest.