Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install openjdk10 #126

Closed
emartynov opened this issue Jul 5, 2019 · 2 comments

Comments

3 participants
@emartynov
Copy link

commented Jul 5, 2019

I run:

brew cask install adoptopenjdk10

I'm getting 404:

Downloading https://github.com/AdoptOpenJDK/openjdk10-binaries/releases/download/jdk-10.0.2%2B13/OpenJDK10U-jdk_x64_mac_hotspot_10.0.2_13.tar.gz

curl: (22) The requested URL returned error: 404 Not Found

@karianna karianna added this to To do in homebrew-openjdk via automation Jul 5, 2019

@karianna karianna added the bug label Jul 5, 2019

@MitchellMcKenna

This comment has been minimized.

Copy link

commented Jul 9, 2019

Script is trying to download

https://github.com/AdoptOpenJDK/openjdk10-binaries/releases/download/jdk-10.0.2%2B13/OpenJDK10U-jdk_x64_mac_hotspot_10.0.2_13.tar.gz

but correct url is:

https://github.com/AdoptOpenJDK/openjdk10-binaries/releases/download/jdk-10.0.2%2B13.1/OpenJDK10U-jdk_x64_mac_hotspot_10.0.2_13.tar.gz

Temp fix:
vi /usr/local/Homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/Casks/adoptopenjdk10.rb

and change line 5 to:

  url "https://github.com/AdoptOpenJDK/openjdk#{version.before_comma}-binaries/releases/download/jdk-#{version.before_comma}.#{version.after_comma.before_colon}%2B#{version.after_colon}.1/OpenJDK#{version.before_comma}U-jdk_x64_mac_hotspot_#{version.before_comma}.#{version.after_comma.before_colon}_#{version.after_colon}.tar.gz"

@karianna karianna modified the milestones: June 2019, July 2019 Jul 10, 2019

@emartynov

This comment has been minimized.

Copy link
Author

commented Jul 10, 2019

Thanks!

@gdams gdams referenced this issue Jul 10, 2019

Merged

update jdk10 link #127

3 of 3 tasks complete

homebrew-openjdk automation moved this from To do to Done Jul 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.