javafx-maven-plugin icon indicating copy to clipboard operation
javafx-maven-plugin copied to clipboard

java.lang.module.FindException: Hash of jdk.management.jfr differs to expected hash recorded in java.base

Open sblantipodi opened this issue 5 years ago • 2 comments

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?

sblantipodi avatar Aug 21 '20 16:08 sblantipodi

I'm encountering something similar on Linux, anyway to fix this?

parrotcar00 avatar Oct 23 '21 13:10 parrotcar00

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)

betanzos avatar Oct 23 '21 17:10 betanzos