JDK难道不是免费的?为什么听说需要付费才能使用?

JDK是否收费

Oracle公司在2019年4月16日更新了JDK的协议,协议的主要内容就是允许在特定场景(个人使用和开发使用)下免费使用,但其他情况下需要订阅使用,也就是商用需要收费。

OTN协议更新

在下载JDK的下载页面,有一个明显的位置写了一个提示信息:

Important Oracle JDK License Update
The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here.

Commercial license and support is available with a low cost Java SE Subscription.

Oracle also provides the latest OpenJDK release under the open source GPL License at jdk.java.net.

不想付费?

  • 使用更新协议之前发布的JDK版本
  • 使用openjdk,openjdk是jdk的社区版本,基本功能都是一样的,而且Oracle也在缩小openjdk和JDK的代码的区别。openjdk和JDK的关系就像CentOS和Redhat Linux的关系一样。
posted @ 2020-05-22 15:37  leeyazhou  阅读(3220)  评论(0编辑  收藏  举报