且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Oracle JDK和OpenJDK之间的差异

更新时间:2021-12-12 17:18:20

目前已创建和维护OpenJDK和Oracle JDK仅限Oracle。

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

OpenJDK和Oracle JDK是通过TCK(Java技术认证工具包)的相同Java规范的实现。

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

JDK的大多数供应商都是在OpenJDK之上编写的,通过做一些调整来[主要是替换许可的专有部件/替换只能在特定操作系统上工作的更高性能项目]而不破坏TCK兼容性。

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.

许多供应商实施了Java规范并通过了TCK。例如,IBM J9,Azul Zulu,Azul Zing和Oracle JDK。

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

几乎每个现有的JDK都派生自OpenJDK。

Almost every existing JDK is derived from OpenJDK.

正如许多人所建议的,许可是JDK之间的变化。

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

从JDK 11开始访问长期支持Oracle JDK / Java SE现在需要商业许可证。您现在应该注意您正在安装的JDK,因为没有订阅的Oracle JDK可能会停止工作。 来源

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

参考: 列表Java虚拟机