不知道楼主纠结个啥
你没看到 openjdk 主页下面大大的 oracle logo 吗?
我猜,这是怕不小心中奖抽到个百度全家桶吧。何必绕这么大个圈不说出心里所想的呢。
我想下面这些信息也许可以帮助到你
↪ $ brew cask info java
java: 1.8.0_74-b02
Java Standard Edition Development Kit
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlNot installed
https://github.com/caskroom/homebrew-cask/blob/master/Casks/java.rb==> Contents
JDK 8 Update 74.pkg (pkg)
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361If your Java application still asks for JRE installation, you might need
to reboot or logout/login.
Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement for Java SE at
http://www.oracle.com/technetwork/java/javase/terms/license/index.html =====================================================================================
↪ $ brew cask info java6
java6: 1.6.0_65
Java Standard Edition Development Kit
https://support.apple.com/kb/DL1572Not installed
https://github.com/caskroom/homebrew-versions/blob/master/Casks/java6.rb==> Contents
JavaForOSX.pkg (pkg)
=====================================================================================
↪ $ brew cask info java7
java7: 1.7.0_80
Java Standard Edition Development Kit
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlNot installed
https://github.com/caskroom/homebrew-versions/blob/master/Casks/java7.rb==> Contents
JDK 7 Update 80.pkg (pkg)
==> Caveats
This Cask makes minor modifications to the JRE to prevent any packaged
application issues.
If your Java application still asks for JRE installation, you might need to
reboot or logout/login.
The JRE packaging bug is discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361Installing this Cask means you have AGREED to the Oracle Binary Code License
Agreement for Java SE at
http://www.oracle.com/technetwork/java/javase/terms/license/index.html