※ 引述《leicheong (睡魔)》之铭言:
: http://www.theregister.co.uk/2016/12/16/
: oracle_targets_java_users_non_compliance/
: 报导最近若干公司被某律师事务所 (Larry Ellison) 告知,
: Oracle旗下的收费部门LMS指他们在没合法投权下使用Oracle的元件,
: 并追收每用户40至300美金, 或每处理器5000至15000美金的费用
: 不想被坑的话, 安装J2SDK时请记得不要安装Advanced Desktop,
: Java SE Advanced及Java EE Suite等元件 (包括JRockit Mission Control,
: JRockit Flight Recorder, Enterprise JRE Installer等).
: 另外Oracle正计画针对手机应用, 手掀设备, 蓝光盘播放等“为智能系统而设的
: 特化嵌入式系统”(specialized embedded computers used in intellegence
: systems) 收费. 在写Java的各位小心了.
虽然骂oracle跟java是显学,oracle也是家烂公司,但是这新闻是标题杀人
除了满满的情感诉求式笔法以外重点只有
***Java SE is free*** but Java SE Advanced Desktop, Advanced and Suite are not.
Java SE Suite, for example, costs $300 per named user with a support bill of
$66; there’s a per-processor option of $15,000 with a $3,300 support bill.
Java SE comes with the free JDK and JRE, but Advanced Desktop, Advanced and
Suite layer in additional capabilities such as Java Mission Control and
Flight Recorder also known as JRockit Mission Control and JRockit Flight
Recorder.
Java SE is free for what Oracle defines as “general purpose computing” –
devices that in the words of its licence cover desktops, notebooks,
smartphones and tablets. It is not free for what Oracle’s licence defines
as “specialized embedded computers used in intelligent systems”, which
Oracle further defines as - among other things - mobile phones, hand-held
devices, networking switches and Blu-Ray players.
重要的事说三遍
Java SE is free
Java SE is free
Java SE is free
Advanced Desktop、Advanced、Suite的商业功能要开启都要额外加flag
-XX:+UnlockCommercialFeatures
才能启动,有点基本英文能力的应该都知道这flag代表啥意思,这可不是没警告使用者
再来文中提到的Java Mission Control(JMC)跟Flight Recorder(FR),
JMC说明文件写得很清楚,除了FR功能以外使用JMC UI不需要商业授权
启动java的时候没加上flag FR根本不会有资料
第三,所谓通用装置包括桌机、笔电、平板,这底下使用Java SE都是免费
嵌入式系统本来就不是使用Java SE,用的是别的版本
懒人包:
想要使用Oracle JDK但是不想被Oracle法律部门找喝茶只需要:
1. 没授权就别使用-XX:+UnlockCommercial开头的JVM选项
2. 只在"通用计算装置"下使用"Java SE"
就这样而已