Experiment to get javafx, cljfx and graalvm native image functionality to play nicely together.
Goal is to have a desktop application launched by a binary compiled by GraalVM.
lein run
works and process shuts down correctly when closing applicationlein uberjar
works and builds something that runs with java -jar
lein native-image
does not work and outputs tons of errors1.10.1-patch_38bafca9_clj_1472_3
built from https://github.com/lread/clj-graal-docs/tree/master/CLJ-1472
java-11-jdk
from arch repositories)./bin/java -agentlib:native-image-agent=config-output-dir=/home/user/projects/victorb/cljfx-graalvm/META-INF/native-image -jar /home/user/projects/victorb/cljfx-graalvm/target/uberjar/cljfx-graalvm-0.1.0-SNAPSHOT-standalone.jar
MIT 2020 - Victor Bjelkholm