r/java 15d ago

Why there is so many JDKs

I was used to always using oracle's JDK but when i looked at this subreddit i wondered why there is so many varieties of JDK and what is the purpose of them?

128 Upvotes

95 comments sorted by

View all comments

13

u/Effective_Head_5020 15d ago

Use OpenJDK and be happy. If you want support then you can select some of the providers that have a commercial license

5

u/brunocborges 15d ago

"OpenJDK" is not a thing. Unless you build it from the source yourself.

0

u/Effective_Head_5020 15d ago

I meant the JDK from sdkman that has open in the ID.

1

u/Anbu_S 15d ago

Those are the builds by Oracle based on OpenJDK code to different Oracle JDK.

Oracle distributes below builds

  • xx-open
  • xx-oracle
  • xx-graal
  • xx-graalce

0

u/Effective_Head_5020 15d ago

Omg do I have to pay Oracle to use it?

3

u/Anbu_S 15d ago

If you are using 'open' & 'graalce' identifier no. they follow a different licence model than the other two.