Do compose binaries need jvm in order to run?
# compose-desktop
u
Do compose binaries need jvm in order to run?
👌 3
1
e
on java 11+, jlink can build a custom jre with your app and its required modules only; on java 14+, jpackage can bundle it into a single distributable
👍 5
but either way, compose-desktop only works on kotlin-jvm (not kotlin-native) and no graalvm native-image (as compose-desktop uses swing for windowing, and that doesn't work with graalvm native-image)
s
as compose-desktop uses swing for windowing
Some work is going on this area - https://github.com/oracle/graal/commit/5d2997a9ac8cafdfc6b5c316532165839ad7d1af
o
r
This is what I was looking for, thanks!