Skip to content

0ffz/compose-graalvm

Repository files navigation

compose-graalvm

A sample Compose multiplatform project using Swing compiled using native-image. Currently being worked on, tested only on Linux.

NOTE: I'm currently working on a writeup explaining issues I ran into along the way and how to work with native image in this context for those new to it, stay tuned.

This project was inspired by esp-er/compose-graal-hello, which uses JWM for its windows. I ran into issues when updating it to the latest compose version and so wanted to test compose running on Swing, before trying out JWM or other tools.

Building

Native image version

Use Liberica NIK on JVM 21 to be able to run the built native image. JVM 23 (and 24 early access) currently stalls while building, and regular GraalVM will build successfully but needs extra setup to actually run the image that Liberica does for you.

About

Sample project running compose multiplatform using native image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages