javafx-maven-plugin
javafx-maven-plugin copied to clipboard
java.lang.module.FindException: Hash of jdk.management.jfr differs to expected hash recorded in java.base
Hi guys, using this plugin on Windows and it works flawlessly, in Linux I get this error:
java.lang.module.FindException: Hash of jdk.management.jfr (a405f735790e653ae6ad1ef35615c78a555389cc5076c74c52f3790a13351666) differs to expected hash (06d891a3ae65eb002ec7c3adeac782a67e5c76c5f1569cbb4e9bdace4e220f23) recorded in java.base
when I run the jpackage command:
jpackage -i ../target --main-class org.dpsoftware.JavaFXStarter --main-jar FireflyLuciferin-jar-with-dependencies.jar --icon ../data/img/java_fast_screen_capture_logo.ico --copyright "Davide Perini" --name "Firefly Luciferin" --vendor DPsoftware
Using JDK 14 with JavaFX14, this is my pom.xml
https://github.com/sblantipodi/firefly_luciferin/blob/master/pom.xml
Can you help me please?
I'm encountering something similar on Linux, anyway to fix this?
If you have this error when running the jpackage command then the error is not related to this plugin.
Nowadays this plugin allows to run two java-related commands: java (when using the goal javafx:run) and jlink (when using the goal javafx:jlink)