[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: openjdk doesn't find my javafx modules
From:       Johan Vos <johan () lodgon ! com>
Date:       2018-07-20 20:07:13
Message-ID: CABek58mgGdYLKb0zWFA4pU-aD6By6mN9VCAwu6Vz-tccbpo8KQ () mail ! gmail ! com
[Download RAW message or body]

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@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
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic