Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


What 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.


Take a look at 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: