-
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
java.lang.Error: no ComponentUI class for: javax.swing.JRootPane #9284
Comments
Hi flben233, thanks for reaching out to us. Could you please specify the exact versions of GraalVM that you are using? You can check by running the Thank you. |
Java Version
GraalVM 24:
Steps to reproduce Commands (I ran them in
|
@flben233 Thank you for sharing the reproducer, I'm afraid I cannot reproduce the issue with the provided steps. Please create a native image bundle of your application and share it with us, you can find details on how to generate bundles in here: https://www.graalvm.org/latest/reference-manual/native-image/overview/Bundles/ |
@oubidar-Abderrahim When I tried to create bundle, it told me:
I also tried My graal configuration in build.gradle.kts is:
Full output:
|
Thank you for providing this information. Do you manage to build your project when using the latest GraalVM ce build? You can find it using this link: https://github.com/graalvm/graalvm-ce-builds/releases If not, could you please share the error you encounter? Otherwise you can share with us the error you see when trying to run the executable using the latest GraalVM ce build from the provided link. Thank you. |
I got the same error with the latest GraalVM CE:
Output:
In fact, I searched for
|
Hi @flben233, Thank you for providing that information. Thank you. |
@selhagani
Compose Multiplatform Version: 1.6.11 |
Unfortunately, I’m still unable to reproduce the issue on my end. Could you kindly provide the exact steps you take with the simpler reproducer so I can better understand how the problem occurs? |
Since there hasn’t been any activity for over two weeks, I’ll be closing this issue for now. Thank you for your understanding! |
Describe the issue
My project is a desktop application and it uses compose multiplatform library. As it was built to native image and I ran it, it showed me the error below and the application exited. I think it might cause by AWT and graal.
PS: GraalVM Community 24+4-jvmci-b01 cannot finish native compile.
Environment
More details
GraalVM 21 (While running the native image):
GraalVM 24:
The text was updated successfully, but these errors were encountered: