Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Add modules("jdk.unsupported") #87

Open
StefanOltmann opened this issue Nov 23, 2023 · 3 comments · May be fixed by #140
Open

Add modules("jdk.unsupported") #87

StefanOltmann opened this issue Nov 23, 2023 · 3 comments · May be fixed by #140

Comments

@StefanOltmann
Copy link

StefanOltmann commented Nov 23, 2023

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

This should be documented.

@StefanOltmann StefanOltmann changed the title Does it work with macOS sandbox? Add modules("jdk.unsupported") Nov 24, 2023
@shalva97
Copy link
Collaborator

shalva97 commented Dec 12, 2023

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

@StefanOltmann
Copy link
Author

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")
    }
}

jhg3410 added a commit to jhg3410/FolderMaker that referenced this issue Feb 23, 2024
recke96 added a commit to recke96/HEMAtoma that referenced this issue Mar 18, 2024
Add the `jdk.unsupported` module to native distribution, which is required by the [mp file-picker](Wavesonics/compose-multiplatform-file-picker#87).
@StefanLobbenmeier
Copy link

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 added a commit to StefanLobbenmeier/compose-multiplatform-file-picker that referenced this issue Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants