halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
470 stars 87 forks source link

no URL specified #20

Closed johnjelinek closed 5 years ago

johnjelinek commented 5 years ago
$ asdf install java adopt-openjdk-8u222-b10
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

I'm running this on a Raspberry Pi 4B+.

halcyon commented 5 years ago

@johnjelinek Please post the results of uname -m and I will add Raspberry Pi 4b+ to the architectures that asdf-java queries adoptopenjdk.net for.

jknichel commented 5 years ago

I'm getting the same issue:

$ asdf install java adopt-openjdk-12.0.2+10.2
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

And since you asked the person above:

$ uname -m
x86_64
halcyon commented 5 years ago

@jknichel That's because AdoptOpenJDK only has a build of this for mac. I presume you are not running on a mac.

If you look here, you'll see the latest version they have for linux is 12.0.2+10 https://adoptopenjdk.net/releases.html?variant=openjdk12&jvmVariant=hotspot

Apologize for the inconvenience, and for the fact that asdf-java doesn't (yet) filter out builds on platforms that don't exist.

Hacklor commented 5 years ago

I came across the same issue on Ubuntu. Developed on Mac initially, but want to run it on Ubuntu instead. Unfortunately the non-adopt options are limited. Any change this can be approved? Are there providers that have versions for Mac and Ubuntu, so that I can install on both using the .tool-versions file? That would be great!

Edit: Trying Azul instead

halcyon commented 5 years ago

@Hacklor Which version of AdoptOpenJDK are you attempting to install on both Ubuntu and Mac?

halcyon commented 5 years ago

Paging @johnjelinek, I'll be closing this issue if I don't hear back from you in 7 days. You can of course re-open it, or open a new one upon your return.