What is the difference between JavaJDK and OpenJDK?

15

I've been researching and from what I've seen both are kept Oracle skin ... But if java is also open source, what is the need for OpenJDK? Or am I mistaken about Java if open source?

    
asked by anonymous 29.05.2017 / 20:27

1 answer

8

Nothing crucial. The openjdk project is primarily based on the hotspot source code donated by Sun.

In addition, openjdk has been selected to be the reference for java 7 implementation, and is maintained by Oracle engineers.

There is a more detailed answer to your here / a>, which links to this blog post:

  

Q: What is the difference between the source code found in the OpenJDK repository and the code that you use to build the Oracle JDK?

     A: It's very close - our build process for Oracle JDK versions is based on OpenJDK 7, adding only a couple of pieces, such as the deployment code, which includes the implementation of Oracle Plugin Java and WebStart Java as well as some third source closed As a graphics rasterizer, some third-party open source components such as Rhino, and some pieces here and there, such as additional documentation or third-party sources. Ahead, our intent is to open up all sources of Oracle JDK, except those we consider commercial resources such as JRockit Mission Control (not yet available in Oracle JDK) and replace third-party components blocked by open source alternatives to achieve closer parity Between the code bases.

Translated from: link

    
30.05.2017 / 16:25