You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you request a component such as native-image on GraalVM for JDK 21 or higher a misleading error is produced
Run graalvm/setup-graalvm@v1
with:
distribution: graalvm-community
java-version: 21
components: native-image
github-token: ***
set-java-home: true
check-for-updates: true
native-image-musl: false
native-image-job-reports: false
native-image-pr-reports: false
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/1d60d5ac-45a7-4113-847b-7fe3662415df -f /home/runner/work/_temp/fe77861f-8945-4f3d-a1e9-79b878b6c46c
Adding graalvm-community-jdk-21.0.0_linux-x64_bin 21.0.0 to tool-cache ...
Error: Unable to locate executable file: gu. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
It complains (rightfully) that gu is not available (Background "Gu is dead", https://medium.com/graalvm/truffle-unchained-13887b77b62c and others), which is an implementation detail here it should be better something along the lines "no need to install this as a component on version x of GraalVM" or similar.
My personal upgrade path was this
And I maybe missed warnings on interim distributions and versions.
The text was updated successfully, but these errors were encountered:
Thanks for raising this! Already working on a fix for this. I just checked and it seems the corresponding test never ran due to a misconfiguration (see 6c7d417).
When you request a component such as
native-image
on GraalVM for JDK 21 or higher a misleading error is producedIt complains (rightfully) that
gu
is not available (Background "Gu is dead", https://medium.com/graalvm/truffle-unchained-13887b77b62c and others), which is an implementation detail here it should be better something along the lines "no need to install this as a component on version x of GraalVM" or similar.My personal upgrade path was this
And I maybe missed warnings on interim distributions and versions.
The text was updated successfully, but these errors were encountered: