-
Notifications
You must be signed in to change notification settings - Fork 26
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't download GraalVM 19.3.0 #239
Comments
Possible bypass it to put a graal {
downloadBaseUrl("https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-19.3.0/graalvm-ce-java11-linux-amd64-19.3.0.tar.gz#")
} |
No, it is not a possible bypass, it fail at another point
|
Self hosting it on s3 or similar will obv work, kinda annoying tho but is temporary until they fix it. |
Are you interested in contributing a fix? |
@carterkozak I'm willing to contribute a fix, but I can't build the Gradle plugin. Is it buildable on Windows currently?
|
@cosminpolifronie, @carterkozak is there any progress or help needed on this? :) We have a bunch of Java 11 services we want to get running on Graal native images but are hitting this bug now. |
@muhlba91 I started working on it but it's much more work than I anticipated. For now it's not a priority as I have other tasks to complete. It will get done, eventually, if someone else will not be working on this. |
Could you maybe fill me/us in on the missing steps and where you are? Maybe I find some time to help out a bit. ;) |
I haven't actually started implementing, but just made a plan and tried a few things. First of all the tests must be disabled until this feature is ready if you're developing on Windows, as they check native-image which is not currently supported (this is what 19.3 is for). Second of all, there is one new parameter that must be introduced, I called it javaVersion (either 8 or 11 - it refers to the type of GraalVM package). The thing is that those input arguments are used in almost all scripts, so you have to modify multiple scripts in order to add support for 19.3. It's not hard, it's just time consuming and I haven't gotten around to doing it (while also maintaining support for older versions). Also, the binaries for GraalVM CE have been moved to this repository: https://github.com/graalvm/graalvm-ce-builds/releases |
Thanks for the explanation and as far as time permits I'll start implementing a fix based on your information. :) Just to verify another part. I believe, the cache directory layout will also change to support multiple versions and javaVersions:
Also, depending on the graal version chosen (19.3+ or not) we need to swap the download URLs to keep backwards compatibility with versions lower than that. |
@cosminpolifronie I still haven't got the chance to test it but I have created a WIP PR #255 with some changes. -> moving discussion to PR |
it's a hacky work-around, but you can use an existing GraalVM installation in the meantime:
(substituting versions, architectures and GraalVM directories as necessary) HTH! |
+1, any advice? |
@UkonnRa we are waiting for @iamdanfox to review my PR #255 which adds support for GraalVM 19.3+ and Java 11. |
Yes running into same problem |
… to contain windows for clarity
For anyone stumbling around this and waiting for the next plugin release, I've added a comment here for a manual workaround. |
In addition to the manual workaround described by @matwjones I created a dirty hack to workaround this: graal.gradle.kts.zip just put it in your project's root and then add this to your gradle file:
and this to your gradle.properties (example for Graalvm dev build):
|
What happened?
I'm not able to download graalvm 19.3 I'm getting
What did you want to happen?
Be able to download graalvm, maybe it would better to have a property to specify full graalvm download url
New URLs are
The text was updated successfully, but these errors were encountered: