Homebrew-cask: 404 link for cask Java

Created on 3 Jul 2017  路  6Comments  路  Source: Homebrew/homebrew-cask

brew install Caskroom/cask/java
==> brew cask install Caskroom/cask/java
==> 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=411361

If 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

==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-macosx-x64.dmg

################################################################## 100.0%

curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java' with message: Download failed: http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-macosx-x64.dmg

All 6 comments

From the template:

- [ ] I understand that if I ignore these instructions, my issue may be closed without review.


curl errors are a part of the first item on the issue template checklist.

Try brew update then brew cask install java

We are seeing this again:

brew cask install java
==> 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=411361

If 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

  https://www.oracle.com/technetwork/java/javase/terms/license/index.html

==> Satisfying dependencies
==> Downloading http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_osx-x64_bin.dmg
######################################################################## 100.0%
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java' with message: Download failed: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_osx-x64_bin.dmg

Looks like Oracle may have changed their "to download from [url]" requirements...
screen shot 2018-01-16 at 14 46 40

Is there a mirror perhaps? Or would this need a bigger / interactive "get approval, then download" sequence of some kind?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RJHsiao picture RJHsiao  路  3Comments

my2ter picture my2ter  路  4Comments

GeekOnGadgets picture GeekOnGadgets  路  3Comments

tycm picture tycm  路  3Comments

CoolTomatos picture CoolTomatos  路  3Comments