Closed reibitto closed 3 years ago
Thank you for reporting! The GraalVM installation is implemented via Coursier that uses Jabba configuration under the hood. The currently supported versions are
❯ jabba ls-remote | grep graalvm
graalvm@20.1.0
graalvm@20.0.0
graalvm@19.3.2
graalvm@19.3.1
graalvm@19.3.0
graalvm@19.2.1
graalvm@19.2.0
graalvm@19.2.0-1
graalvm@19.1.1
graalvm@19.1.0
graalvm@19.0.2
graalvm@19.0.0
graalvm@1.0.0-16
graalvm@1.0.0-15
graalvm@1.0.0-14
graalvm@1.0.0-13
graalvm@1.0.0-12
graalvm@1.0.0-11
graalvm@1.0.0-10
graalvm@1.0.0-9
graalvm@1.0.0-8
graalvm@1.0.0-7
graalvm@1.0.0-6
graalvm@1.0.0-5
graalvm-ce-java11@20.1.0
graalvm-ce-java11@20.0.0
graalvm-ce-java11@19.3.2
graalvm-ce-java11@19.3.1
graalvm-ce-java11@19.3.0
graalvm-ce-java8@20.1.0
graalvm-ce-java8@20.0.0
graalvm-ce-java8@19.3.2
graalvm-ce-java8@19.3.1
graalvm-ce-java8@19.3.0
graalvm-ce-java8@19.2.1
graalvm-ce-java8@19.2.0
graalvm-ce-java8@19.2.0-1
graalvm-ce-java8@19.1.1
graalvm-ce-java8@19.1.0
graalvm-ce-java8@19.0.2
graalvm-ce-java8@19.0.0
graalvm-ce-java8@1.0.0-16
graalvm-ce-java8@1.0.0-15
graalvm-ce-java8@1.0.0-14
graalvm-ce-java8@1.0.0-13
graalvm-ce-java8@1.0.0-12
graalvm-ce-java8@1.0.0-11
graalvm-ce-java8@1.0.0-10
graalvm-ce-java8@1.0.0-9
graalvm-ce-java8@1.0.0-8
graalvm-ce-java8@1.0.0-7
graalvm-ce-java8@1.0.0-6
graalvm-ce-java8@1.0.0-5
I think this can be fixed by sending a PR to Jabba adding 20.2.0 around here https://github.com/shyiko/jabba/blob/ef8082dbaf6e26920d02061a2190b032f1794cbd/index.json#L198 similar to this commit here https://github.com/shyiko/jabba/commit/df6684ed1abca1eba1c18dfd8ec4ea7f39441390
Thanks! I don't know anything about Jabba, but what you found seems to check out. I could try creating a PR later today.
I looked into this and it seems like there's a sync tool of some kind that does the index.json additions in Jabba? I can't really tell. But given the number of open PRs, I opted for creating an issue first and asking about it.
It looks like the issue upstream is fixed. I don't know if we have to wait for a release or the next version of Coursier for it to take effect though. I don't know the inner workings there.
I opened https://github.com/scalameta/sbt-native-image/pull/15 changing the default GraalVM version to 20.2.0 by using the JVM index from Coursier instead of Jabba https://github.com/scalameta/sbt-native-image/issues/8#issuecomment-704434014
Is GraalVM 20.2.0 supported? I see the default is 20.1.0, so I'm wondering if there's still a blocker somewhere for 20.2.0.
I tried setting
nativeImageVersion := "20.2.0"
and it seems to download it fine. But then it fails with:Installation:
Additional context
No particular special config set besides
nativeImageVersion
.