Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Downloading A Specific Version #7

Open
gmseed opened this issue Jul 15, 2023 · 3 comments
Open

Downloading A Specific Version #7

gmseed opened this issue Jul 15, 2023 · 3 comments
Assignees

Comments

@gmseed
Copy link

gmseed commented Jul 15, 2023

The Examples section gives the example:

Download a specific GraalVM CE JDK

$ bash <(curl -sL https://get.graalvm.org/jdk) graalvm-ce-java17-22.3.1

So, I want to download a different J17 version. I clicked on the provided CE link:

https://github.com/graalvm/graalvm-ce-builds/releases

I scroll down the J17 releases and see one versioned 17.0.7.

I now use the version number in bash command given:

$ bash <(curl -sL https://get.graalvm.org/jdk) graalvm-ce-java17-0.7

and get:

$ bash <(curl -sL https://get.graalvm.org/jdk) graalvm-ce-java17-0.7
Downloading graalvm-ce-java17-linux-amd64-0.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Failed to download 'https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-0.7/graalvm-ce-java17-linux-amd64-0.7.tar.gz'.

@fniephaus
Copy link
Member

Thanks for raising this, @gmseed.

We still haven't updated these download script to support the latest GraalVM release. The easiest way to download GraalVM is via SDKMAN!, so you could run sdk install java 17.0.7-graalce (or sdk install java 17.0.7-graal for Oracle GraalVM) instead. This means we probably will add a note on this to the download scripts and the README of this repo and retire this project.

@fniephaus fniephaus self-assigned this Jul 17, 2023
@gmseed
Copy link
Author

gmseed commented Jul 17, 2023

Thanks for your reply.

After I posted my comment I tried to edit/delete it as I realised I misunderstood the Java-GraalVM versioning system. However, I do still think it is a little confusing as the webpage says you simply select the version numbers you want, but how does a user know what these version numbers are? I tried a few and it didn't work and was left guessing. A list of all available versions would be nice. I now understand that the versioning system is java17-, java20-, etc but what GraalVM number to choose? So I head over to [https://github.com/graalvm/graalvm-ce-builds/releases] but I'm still no wiser what the GraalVM version numbers are.

So, I select, say, the following Java17 version and hover over the link:

https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.7/graalvm-community-jdk-17.0.7_linux-x64_bin.tar.gz

I know the Java version but still no wiser what the GraalVM version.

So, I download it and unzip it.

Only then when I look inside the release text file do I see version info such as:

GRAALVM_VERSION="22.1.0.1"

@fniephaus
Copy link
Member

As part of the alignment with OpenJDK, we are phasing out the GraalVM version. Normal users should neither see nor worry about the GraalVM version anymore. I'm working on an update for the README. Looks like adding support for the new release should work, but it probably still makes sense to retire the JDK downloader now that GraalVM can be installed with standard Java tools.

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

No branches or pull requests

2 participants