使用OpenJDK的原因是什么? [英] What is the reason to use OpenJDK?

查看:351
本文介绍了使用OpenJDK的原因是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以某种方式理解了Oracle JDKOpen JDK之间的区别.
但是我找不到使用Open JDK的原因. 因为Oracle JDK已经拥有了人们所需的一切,有时甚至比Open JDK快.

I somehow understand the differences between Oracle JDK and Open JDK.
But I can't find reasons to use Open JDK.
Because Oracle JDK already has everything one would need and sometimes faster than Open JDK.

在哪些情况下应该使用Open JDK?
只是为了合法性问题吗?
如果是,那么有什么问题?
那是因为我仍在使用Oracle JDK

In which cases should someone use Open JDK?
Is it just for legality issues?
If yes, then what are issues?
That because I have been still develop all my projects using Oracle JDK

推荐答案

2017年11月: 在提出此问题时,介绍了在OpenJDK和Oracle之间进行选择的原因JDK包括:

November 2017: At the time this question was asked, the reasons for choosing between OpenJDK and Oracle JDK include:

  • 特定平台的版本/安装程序的可用性.例如,上次我检查Debian/Ubuntu没有".deb"格式的Oracle JDK发行版.而且没有适用于Windows的OpenJDK构建.

  • Availability of builds / installers for specific platforms. For example, last time I checked there were no Oracle JDK distros in ".deb" format for Debian / Ubuntu. And no OpenJDK builds for Windows.

Oracle JDK具有一些付费用户可以启用的商业功能.它们不在OpenJDK上.

Oracle JDK has some commercial features that can be enabled by people who have paid. They are not present on OpenJDK.

Oracle JDK具有令人讨厌的点击型许可证.如果您试图自动化部署,这将是一件痛苦的事情.例如云虚拟机.相比之下,至少可以使用平台的程序包管理器来安装和更新Linux上的OpenJDK.

Oracle JDK has an annoying click-through license. This is a pain if you are trying to automate deployment; e.g. to cloud VMs. By contrast, OpenJDK on Linux (at least) can be installed and updated using the platform's package manager.

如果您想要OpenJDK的商业支持,可能会出现问题.

There may be issues if you wanted commercial support for OpenJDK.

如果您仅打算使用该软件,则Oracle JDK和OpenJDK之间的没有实质性许可. (对于Oracle JDK的二进制重新分发有一些限制,但是它们与发布Java平台的非标准或精简版本有关.)

There were no substantive license differences between Oracle JDK and OpenJDK if you just plan to use the software. (There are some constraints on binary redistribution for Oracle JDK, but they are about shipping non-standard or stripped-down versions of the Java platform.)

根据此博客页面,将来,其中一些差异将消失:

In the future, some of these differences will go away, according to this blog page:

2018年12月更新:

  • 从2019年1月开始,Oracle JDK Java 8将停止商业用途. (但是免费支持将持续到2020年1月,供个人使用.)

  • As of January 2019, Oracle JDK Java 8 will be EOL for commercial uses. (But free support will continue until January 2020 for personal use.)

Java 9和Java 10是EOL.

Java 9 and Java 10 are EOL.

Oracle JDK Java 11及更高版本的商业用途需要支持合同或Oracle的订阅. OpenJDK Java构建不具有此要求.

Commercial uses of Oracle JDK Java 11 and later require a support contract or a subscription from Oracle. OpenJDK Java builds do not have this requirement.

Oracle不提供对OpenJDK Java构建的支持,但是可以从第三方获得支持.第三方还将把Oracle安全修补程序移植到OpenJDK构建中.

Oracle do not provide support for OpenJDK Java builds, but support is available from 3rd parties. Third parties will also port Oracle security fixes to OpenJDK builds.

进一步阅读:

  • Java Is Still Free
  • OpenJDK Life Cycle and Support Policy (RedHat)
  • The future of Java and OpenJDK updates without Oracle support
  • What has changed in Java Release and Update Availability? (Azul Systems)
  • AdoptOpenJDK Support

这篇关于使用OpenJDK的原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆