-
Notifications
You must be signed in to change notification settings - Fork 60
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
native-maven-plugin throws error: gu.cmd' tool was not found. #521
Comments
Happens under macOS as well.
Noted this on GraalVM Slack: |
I can't seem to reproduce this. What |
Ah, therein lies the rub! I use jenv to switch between JDK versions, and this works fine for almost anything else built by grade, maven and leiningen. It seems Graal Native Tools needs For future reference by others suffering PEBCAK, fixed by using
The GraalVM build tools are now happy, thanks. |
Good to know there's a workaround, @kpoalses. Nonetheless, we'd like to make sure the plugins are as easy to use as possible, so it'd be good for us to know what exactly went wrong on your end. What |
For clarity, without the export plugin,
and In my problem case, although Maven was able to infer With As I said, entirely my fault, although the error message regarding 'gu' tool not being found was a bit misleading - perhaps an outright complaint about lack of |
Yes, that sounds reasonable. The error message should remind users to check their JAVA/GRAALVM env vars, I'll take care of that. Thanks for the feedback! |
Description
native-maven-plugin throws error: gu.cmd' tool was not found. It happens because in Graalvm jdk21 gu was removed. oracle/graal#6855**
System Info (please complete the following information):
Windows
]graalvm-jdk-21.0.0
]21
]native-maven-plugin:0.9.27
]Additional context
The text was updated successfully, but these errors were encountered: