-
Notifications
You must be signed in to change notification settings - Fork 163
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
./jbang export local --native calls the wrong native-image executable on Windows Server 2022 #1394
Comments
Your link results in 404. Can You paste the relevant output? |
Sorry, the repo was accidentally set to private. The link should work now. |
Yup, |
I guess they changed it when it became an optional part of the GraalVM dist. I'll see If I can find out sth. |
It seems the .exe is now located in |
We no longer assume the compiler executables will always be .exe when running on Windows. In fact in the latest Graal versions the `native-image` executable is a .cmd file. Fixes jbangdev#1394
Ok, I created a fix for this which should work. #1395 |
We no longer assume the compiler executables will always be .exe when running on Windows. In fact in the latest Graal versions the `native-image` executable is a .cmd file. Fixes jbangdev#1394
Ok, so the fix does work, but I encountered a couple of other issues along the way: |
Describe the bug
On Windows Server 2022,
./jbang export local --native ...
tries to callnative-image.exe
instead ofnative-image.cmd
, seehttps://github.com/helpermethod/p2e/runs/7211828761?check_suite_focus=true#step:5:62
To Reproduce
Steps to reproduce the behavior:
Expected behavior
native-image.cmd
is called instead.JBang version
The text was updated successfully, but these errors were encountered: