Differences between Oracle JDK and OpenJDK

后端 未结 11 1257
囚心锁ツ
囚心锁ツ 2020-11-22 12:01

NOTE: This question is from 2014. As of Java 11 OpenJDK and Oracle JDK are converging.

Are there any crucial differences between Ora

11条回答
  •  遇见更好的自我
    2020-11-22 12:06

    Both OpenJDK and Oracle JDK are created and maintained currently by Oracle only.

    OpenJDK and Oracle JDK are implementations of the same Java specification passed the TCK (Java Technology Certification Kit).

    Most of the vendors of JDK are written on top of OpenJDK by doing a few tweaks to [mostly to replace licensed proprietary parts / replace with more high-performance items that only work on specific OS] components without breaking the TCK compatibility.

    Many vendors implemented the Java specification and got TCK passed. For example, IBM J9, Azul Zulu, Azul Zing, and Oracle JDK.

    Almost every existing JDK is derived from OpenJDK.

    As suggested by many, licensing is a change between JDKs.

    Starting with JDK 11 accessing the long time support Oracle JDK/Java SE will now require a commercial license. You should now pay attention to which JDK you're installing as Oracle JDK without subscription could stop working. source

    Ref: List of Java virtual machines

提交回复
热议问题