Open makingthematrix opened 2 years ago
try to add this option to your nativeImage configuration:
s"-H:JNIConfigurationFiles=${(Compile / resourceDirectory).value / "jni-config.json"}",
Had a similar problem and it was fixed with this option:
Describe the bug
If I build a native image with JavaFX and try to run it, an error crashes the app at initialization:
To Reproduce Steps to reproduce the behavior:
I prepared a minimal example and put the steps to reproduce the error in the description: https://github.com/makingthematrix/javafx_sbt_minimal