Eric
01/03/2023, 4:41 AMlibjvm.so
generated for other projects, it seems like there should be some version that’s <50Mb, but my Google-fu has failed in determining how to dissect just the runtime parts from the JDKs.
2. Include the JVM with the Compose Desktop application using libjvm.so. Is this an option somehow?
3. Compile the Compose Desktop application as fully-native. This seems ideal, but also appears to be a ways off.
Any thoughts? TIAromainguy
01/03/2023, 4:56 AMEric
01/03/2023, 5:03 AMEric
01/03/2023, 5:04 AMEric
01/03/2023, 7:01 AMmcpiroman
01/03/2023, 9:33 AMMichael Paus
01/03/2023, 10:58 AMcompose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
modules("java.base","java.naming","java.prefs","java.scripting","java.sql","jdk.jfr","jdk.unsupported","jdk.unsupported.desktop","<http://jdk.crypto.ec|jdk.crypto.ec>","jdk.localedata")
...
By making the modules list as short as possible this should result in the smallest possible app based on Java without going native.mikehearn
01/03/2023, 1:20 PMMichael Paus
01/03/2023, 6:26 PMmikehearn
01/03/2023, 7:57 PM