JetBrains / jewel

An implementation of the IntelliJ look and feels in Compose for Desktop
Apache License 2.0
634 stars 30 forks source link

Package a standalone Compose App on Windows platform #385

Closed Moriafly closed 1 month ago

Moriafly commented 1 month ago

Excuse me, I'm attempting to package a standalone Compose App on Windows platform.

Under OpenJDK 18, the packageReleaseMsi packaging process can be completed normally, but there will be a crash when running.

java.lang.IllegalStateException: DecoratedWindow can only be used on JetBrainsRuntime (JBR) platform

So I downloaded JBR-17.0.11, but packaging failed.

Execution failed for task ': composeApp: checkruntime'.
>"Failed to check JDK distribution: 'jlink. exe', 'jpackage. exe' are missing

How can I proceed? Thanks a lot.

rock3r commented 1 month ago

I'm sorry, but we're not able to help using third party tools. Stack overflow is probably your best bet for this kind of question 🙂

Moriafly commented 1 month ago

Thank you very much. It was my own oversight that I had not downloaded the full JBRSDK. Thank you again.

rock3r commented 1 month ago

Thanks for reporting back, hopefully will be of help to someone else in the future. Happy you solved your problem 🙂