GraalVM is pretty awesome for a lot of reasons. But the one that has me most hyped is the ability to create native executables from Java bytecode. ...
For further actions, you may consider blocking this person and/or reporting abuse
I tried to make graal native image to work for javafx, and failed, leaving notes for the record.
Even after making several configurations changes I am not able to get it to work.
The project I am compiling is thejavafxproject
with the entry point - JavaFxEntryPointMainMethod
This is the command I used to build the native image.
I am able to get a native image, which will crash :'(
reflectconfig.json
jniconfig.json
A 10MB exe is created thejavafxproject.exe
Output - on running the executable
Good attempt! Gluon is supposedly going to release a Maven/Gradle plugin to get javafx working with openjdk and graalvm for Windows "shortly." They just recently released the beta version for macOS, so I have high hopes!
Ya just to come and report, it works. Gluon team did the hard-work and it is for free for all of us.
aww, thats cool. ♥️