Skip to content

NoClassDefFoundError for ManagementFactory of .deb compose desktop release #139

@05nelsonm

Description

@05nelsonm

Using ComposeDesktopExtension and creating release of an app. On Tor startup am getting an error which points to kmp-process Process.Current.pid() function.

NoClassDefFoundError java/lang/management/ManagementFactory

Things work once java.management module is added, as the JvmApplicationDistributions extension container has includeAllModules set to false by default.

nativeDistributions {
    // ...

    modules("java.management")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions