scalameta / sbt-native-image

Plugin to generate native-image binaries with sbt
248 stars 22 forks source link

Graal 22.x Doesn't Work #59

Open jamesward opened 1 year ago

jamesward commented 1 year ago

When trying to use sbt-native-image with:

nativeImageVersion := "22.2.0"

I get:

JVM graalvm-java11:22.2.0 not found in index: No graalvm-java11 version matching '22.2.0' foundraalvm-tester / Compile / compileIncremental 0s
[error] java.lang.RuntimeException: Nonzero exit value: 1
[error]     at scala.sys.package$.error(package.scala:30)
plokhotnyuk commented 1 year ago

Just checked that "22.3.0" works for me here, but for "graalvm-java11" and "graalvm-java17" only.

It seems that "graalvm-java19" is not supported yet.

Christewart commented 10 months ago

I experience this bug on graalvm 20 on mac m1.

I don't experience it on linux though.