graalvm

Grant Horner 2022-04-06T20:27:40.593639Z

I noticed that this question pops up every few months, but I haven't seen any definitive answer: has anyone had any luck compiling a cljfx application with native image? 🙂

borkdude 2022-04-06T20:47:14.388159Z

@h.grant.horner Couldn't hurt asking this on the GraalvM Slack community maybe.

phronmophobic 2022-04-06T20:51:43.014619Z

There is a JavaFx example, https://github.com/gluonhq/gluon-samples/tree/master/HelloFX

ericdallo 2022-04-06T20:52:52.957779Z

yeah, someone always link the gluon workaround 😂 (thanks for that) which is more java/maven-plugin friendly than if trying from clojure 😔

phronmophobic 2022-04-06T20:55:03.164189Z

Afaik, the JavaFx part of the JVM hasn't been implemented by the graalvm team and you must use gluon unless you want to implement that part of the JVM yourself.

☝️ 1
Grant Horner 2022-04-06T22:10:45.655759Z

I tried using the Gluon plugin but it doesn't work for ARM MacOS :(

borkdude 2022-04-06T22:22:29.662809Z

I think there's a gluon channel in the graalvm community slack