HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
547 stars 44 forks source link

GraalVM native-image on arm macOS #226

Open mworzala opened 2 years ago

mworzala commented 2 years ago

Related to #159

It is now possible to generate a native image using JWM for arm macOS. See the following:

https://github.com/mworzala/jwm-graalvm

Will try to get it working with the native-image example (if anything needs to be changed), but I figured I would leave it here for those interested in the mean time.

tonsky commented 2 years ago

It works!!! Thank you, this is a HUGE step!

Screenshot 2022-04-12 at 19 44 29
bumfo commented 1 year ago

GraalVM native-image does not work any more, because io.github.humbleui.skija.impl.Cleanable requires sun.misc.Cleaner which seems to be unavailable on GraalVM.

tonsky commented 1 year ago

skija is now a multi-release jar, hopefully graalvm could be made to understand that?