compose-multiplatform-file-picker icon indicating copy to clipboard operation
compose-multiplatform-file-picker copied to clipboard

Add modules("jdk.unsupported")

Open StefanOltmann opened this issue 2 years ago • 3 comments

To run in the distributable version you need to add modules("jdk.unsupported").

This should be documented.

StefanOltmann avatar Nov 23 '23 18:11 StefanOltmann

Can you provide more details? what is distributable version and what exactly needs to be documented?

shalva97 avatar Dec 12 '23 18:12 shalva97

If a Compose Multiplatform app is build using this library there needs to be this entry or else the app will crash.

compose.desktop.application {

    nativeDistributions {

        modules("jdk.unsupported")
    }
}

StefanOltmann avatar Dec 12 '23 23:12 StefanOltmann

Any chance we can add this as a necessary implementation detail to the Readme? Surely better to configure it right from the getgo instead of running into the issue and having to search for the workaround here.

StefanLobbenmeier avatar Jun 08 '24 21:06 StefanLobbenmeier