JPackage and JavaFX
Kevin Rushforth
kevin.rushforth at oracle.com
Thu Aug 20 01:07:45 UTC 2020
I've not seen the module FindException with jfr before, but one thing I
do see is that you will need to use the JavaFX jmods rather than the
sdk. Otherwise, jlink (which is invoked by jpackage) won't produce a
runnable application.
-- Kevin
On 8/19/2020 5:52 PM, Davide Perini wrote:
> Hi all,
> is there someone able to use JPackage with JavaFX under ubuntu with
> JDK14?
>
> When I try to use jpackage on ubuntu I get this error:
>
> jpackage -n TestFX -i target --main-jar
> tmyjar-jar-with-dependencies.jar -d output --module-path
> /home/sblantipodi/dev/jdk/javafx-sdk-14.0.2.1/lib
> WARNING: Using incubator modules: jdk.incubator.jpackage
>
> java.lang.module.FindException: Hash of jdk.management.jfr
> (a405f735790e653ae6ad1ef35615c78a555389cc5076c74c52f3790a13351666)
> differs to expected hash
> (06d891a3ae65eb002ec7c3adeac782a67e5c76c5f1569cbb4e9bdace4e220f23)
> recorded in java.base
>
> Any idea?
>
> Thanks
More information about the openjfx-dev
mailing list