D
D
Dred Wolf2020-07-12 22:20:58
Java
Dred Wolf, 2020-07-12 22:20:58

What is the difference between Oracle JDK and OpenJDK?

Started learning Java and ran into difficulty installing the JDK. On off. The Oracle website offers a commercial version with dubious terms of the agreement. I have read a lot about them. My task: to learn a language for personal writing under Android. What should I download and where? Everything is too confusing and hazy. What happens if I use the Oracle JDK for commercial purposes?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Gornostaev, 2020-07-13
@DredWulf

Oracle JDK is compiled from OpenJDK sources. Functionally, they are completely identical. The only difference is that the Oracle JDK provides a commercial license with support.

D
Dmitry Roo, 2020-07-12
@xez

OpenJDK is not commercial.
Oracle - commercial (same + support).
That's the whole difference.
Just use OpenJDK, for example from any of these sources:
https://www.azul.com/downloads/zulu-community/?arc...
https://adoptopenjdk.net/
https://aws.amazon.com/ en/corretto/
https://bell-sw.com/pages/downloads/

S
Sergei Chamkin, 2020-07-12
@Sergei1337

https://stackoverflow.com/questions/22358071/diffe...
https://stackoverflow.com/questions/57220304/andro...

D
DenisMakogon, 2020-07-13
@DenisMakogon

As noted above, there is no technical difference between Oracle JDK and OpenJDK. But as soon as the question arises in solving problems, then working with Oracle (through the purchase of a license) is only a plus, because Oracle is the main and largest contributor to OpenJDK. Solving any Java-related problems becomes Oracle's immediate problem, not yours! Moreover, the above resources of other JDK binaries are not particularly useful, since their maintainers do not provide Early Access builds, do not provide binaries for new OpenJDK projects (such as Project Amber, Project Loom and a dozen others), and Oracle provides it all in within OpenJDK (under an identical license to OpenJDK).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question