4 ms·
I was considering this, working on a new javafx app for a side project. Using java 17, and generating binaries with fxlauncher/jpackage/wix is not working great
by foooobaba 3y ago
I was considering this, working on a new javafx app for a side project. Using java 17, and generating binaries with fxlauncher/jpackage/wix is not working great imo. Any good recommendations on tooling for using the graal route? I develop on linux but most users will be on windows. It would be great to not have to use windows vm for building the binaries (but i can if needed ofcourse).
- pregnenolone 3y agoWhat trouble are you having with jpackage? It's easy. Anyway, in order to AOT compile your JavaFX compilation you will have to run(or test) your application with Graal's tracing agent to collect the metadata and then compile it. You can use Graal's native plugins for Gradle or Maven.
- mike_hearn 3y agoTake a look at https://conveyor.hydraulic.dev/ https://conveyor.hydraulic.dev/, it supports JavaFX apps and can build Windows/Mac packages from Linux. It can't do native images from those though.