I'm surprised whole jre is packed with the compose...
# compose-desktop
a
I'm surprised whole jre is packed with the compose in just 40mb, when jre itself if of 72mb. How's this optimization done, jpackage?
s
Yes, jpackage internally uses newly
jlink
tool to create a custom runtime image (compressed) of the app (in this case non-modular compose app), which will contain only the modules provided by the classpath (which is mostly
java.base
).