openjdk doesn't find my javafx modules
Johan Vos
johan at lodgon.com
Fri Jul 20 20:07:13 UTC 2018
Hi,
You need to add `lib` to the module path (hence ...\javafx-sdk-11\lib)
We just published a very small howto at
http://docs.gluonhq.com/javafx11/#install-javafx
- Johan
Op vr 20 jul. 2018 om 22:01 schreef <stijn.vranckx1 at telenet.be>:
> Hi,
>
> I have downloaded both:
>
> - openjdk-11-ea+23_windows-x64_bin
> - openjfx-11-ea+19_windows-x64_bin-sdk
>
> And unzipped them C:\Program Files\Java\jdk-11 and C:\Program
> Files\Java\jdk-11\javafx-sdk-11
>
> However when I run my javafx application with
>
> --module-path "C:\Program Files\Java\jdk-11\javafx-sdk-11\"--add-modules
> javafx.graphics,javafx.fxml
>
> parameters.
>
> I get the error:
>
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module javafx.graphics not found
>
> I looked for a solution, but can't find any.
>
> Which makes it hard to verify if JDK-8193313 : MediaPlayer Leaking Native
> Memory still occurs in my application.
>
>
> Best regards,
> Stijn
>
>
>
More information about the openjfx-dev
mailing list