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

Problems installing Java oracle-8.191 #41

Closed
daincredibleholg opened this issue Jan 13, 2020 · 3 comments
Closed

Problems installing Java oracle-8.191 #41

daincredibleholg opened this issue Jan 13, 2020 · 3 comments

Comments

@daincredibleholg
Copy link

It does look like the JDK 8u191 from Oracle has moved?
Here is the output I get:

asdf install java oracle-8.191
░asdf java :)░ downloading http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-macosx-x64.dmg
####################################################################################################################################################################################################################################### 100.0% #=O=#      #         #
curl: (22) The requested URL returned error: 404 Not Found
░asdf java :(░ asdf java failed. downloading java dist

Interestingly enough, the version oracle-8.191 is afterwards "installed", I have to uninstall it via asdf uninstall oracle-8.191 which returns gracefully with a success.

@halcyon
Copy link
Owner

halcyon commented Jan 13, 2020

Because Oracle regularly cut off unauthenticated access to their downloads, current versions of asdf-java do not directly support installation of Oracle versions of the JDK. Most needs can be met with the adopt-openjdk versions. You could also manually install an Oracle version of the JDK. Please make sure you have an up to date clone of the asdf-java plugin.

@halcyon
Copy link
Owner

halcyon commented Jan 13, 2020

Yes, I too have observed the lack of error handling for failed installations. PRs which would fix this are welcome!

@halcyon halcyon closed this as completed Jan 13, 2020
@halcyon
Copy link
Owner

halcyon commented Jan 13, 2020

Please run asdf plugin-update java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants