Open ygarg465 opened 2 years ago
mvn gluonfx:runagent and click through everything before mvn gluonfx:build copy your .exe to graalvm\bin and execute it from there - if it works there, the awt and dependent dll's are missing and they must exist in the directory where you start the .exe
I am trying to create a
native-image
of a straightforward application but it requires being a Swing application withJFrame
andJFXPanel
to run JavaFX UI as I am using Java Chromium Embedded Framework (JCEF) to replace Javafx WebView on Windows as GraalVM does not currently support it. And JavaFX does not render the browser correctly, hence Swing usage. Plugin'sbuild
command runs perfectly fine but when I try to run the image usingnativerun
it fails to run.Application Code
Please let me know if any more information is needed