https://kotlinlang.org logo
Title
g

gyakkun

02/13/2023, 12:41 PM
Hi team. I'm adding logging to my compose-desktop app and it runs well in IDEA but fails to launch JVM when "runDistributable". The error message refers to a JLink(?) issue that the logback package I use hasn't handle well for Java module. May I know if there's any sophisticated solution to export logging to a file in compose-desktop world? Thank you very much. Ref: https://jira.qos.ch/browse/LOGBACK-1515
n

Nikita Lipsky

02/13/2023, 1:26 PM
As stated here https://github.com/JetBrains/compose-jb/blob/2af56d8cbf85d0530b2849545aba65b8668f0[…]3c/tutorials/Native_distributions_and_local_execution/README.md you may configure what modules should be included to the final distribution. In your case, it seems that "javax.naming" should be added
g

gyakkun

02/13/2023, 1:39 PM
Awesome! It works right for me now. Thank you very much.