-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 Image with awt can't properly load library #3807
Comments
Windows 11 |
Have the same issue on Using
|
For me I can successfully build the native binary, but the executable output is the
|
@smallshen thanks for reporting the issue, we will check it out and get back to you |
@smallshen please share the commands you used to generate native-image for https://github.com/oracle/graal/files/6462384/JetpackComposeMinimumExample.zip |
I use the agent to produce config first, and then |
@smallshen while running set java.home property to GRAALVM_HOME to your application |
@mcraj017 thanks it solves the problem, looks like it forget to link the jawt.dll somehow |
it will load the "bin/jawt.dll" under java.home, is it possible to link it into the exe? same as the java.dll and jvm.dll |
@smallshen AWT support on windows for native-image is still in progress |
Comment added |
The same problem under Linux, but
GraalVM CE 22.3.0 (build 11.0.17+8-jvmci-22.3-b08) Reproducer & artifact: https://transfer.sh/%28/OGIqlm/demo-linux-x64-1.0.0.jar%29.zip fallback images work correctly |
Reproducer:
#3342 (comment)
https://github.com/oracle/graal/files/6462384/JetpackComposeMinimumExample.zip
Issue:
After compile it and run the executable, it prints
and quit.
The text was updated successfully, but these errors were encountered: