You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jean-Marc Borer <jm...@gmail.com> on 2022/01/13 17:32:05 UTC

JavaFX warning when building NB RCP with Maven

Hello,

Does anyone know how to fix this warning when I build my RCP app?

Could not resolve Class-Path item in
org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path
is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping

Regards

Re: JavaFX warning when building NB RCP with Maven

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Or use an OpenJDK distro where that is true?

Gj

On Thu, Jan 13, 2022 at 6:46 PM Jean-Marc Borer <jm...@gmail.com> wrote:

> I checked the content of the manifest file of module
> org-netbeans-libs-javafx.jar
>
> And actually I found:
> ....
> OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1
> Class-Path: %24%7Bjava.home%7D/lib/ext/jfxrt.jar
>
> Is this sequence someting that is expected? The Maven build seems to have
> issues with that.
>
> On Thu, Jan 13, 2022 at 5:39 PM Jean-Marc Borer <jm...@gmail.com> wrote:
>
>> zulu8.58.0.13-ca-fx-jdk8.0.312-win_x64\jre\lib\ext
>> where jfxrt.jar exists... and JFX works in the application later. Just
>> wondering why such warning is generated.
>>
>> On Thu, Jan 13, 2022 at 5:35 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Probably lib/ext/jfxrt.jar does not exist?
>>>
>>> Which JDK is it that you are using?
>>>
>>> Gj
>>>
>>> On Thu, Jan 13, 2022 at 6:32 PM Jean-Marc Borer <jm...@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> Does anyone know how to fix this warning when I build my RCP app?
>>>>
>>>> Could not resolve Class-Path item in
>>>> org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path
>>>> is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping
>>>>
>>>> Regards
>>>>
>>>

Re: JavaFX warning when building NB RCP with Maven

Posted by Jean-Marc Borer <jm...@gmail.com>.
I checked the content of the manifest file of module
org-netbeans-libs-javafx.jar

And actually I found:
....
OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1
Class-Path: %24%7Bjava.home%7D/lib/ext/jfxrt.jar

Is this sequence someting that is expected? The Maven build seems to have
issues with that.

On Thu, Jan 13, 2022 at 5:39 PM Jean-Marc Borer <jm...@gmail.com> wrote:

> zulu8.58.0.13-ca-fx-jdk8.0.312-win_x64\jre\lib\ext
> where jfxrt.jar exists... and JFX works in the application later. Just
> wondering why such warning is generated.
>
> On Thu, Jan 13, 2022 at 5:35 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Probably lib/ext/jfxrt.jar does not exist?
>>
>> Which JDK is it that you are using?
>>
>> Gj
>>
>> On Thu, Jan 13, 2022 at 6:32 PM Jean-Marc Borer <jm...@gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> Does anyone know how to fix this warning when I build my RCP app?
>>>
>>> Could not resolve Class-Path item in
>>> org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path
>>> is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping
>>>
>>> Regards
>>>
>>

Re: JavaFX warning when building NB RCP with Maven

Posted by Jean-Marc Borer <jm...@gmail.com>.
zulu8.58.0.13-ca-fx-jdk8.0.312-win_x64\jre\lib\ext
where jfxrt.jar exists... and JFX works in the application later. Just
wondering why such warning is generated.

On Thu, Jan 13, 2022 at 5:35 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Probably lib/ext/jfxrt.jar does not exist?
>
> Which JDK is it that you are using?
>
> Gj
>
> On Thu, Jan 13, 2022 at 6:32 PM Jean-Marc Borer <jm...@gmail.com> wrote:
>
>> Hello,
>>
>> Does anyone know how to fix this warning when I build my RCP app?
>>
>> Could not resolve Class-Path item in
>> org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path
>> is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping
>>
>> Regards
>>
>

Re: JavaFX warning when building NB RCP with Maven

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Probably lib/ext/jfxrt.jar does not exist?

Which JDK is it that you are using?

Gj

On Thu, Jan 13, 2022 at 6:32 PM Jean-Marc Borer <jm...@gmail.com> wrote:

> Hello,
>
> Does anyone know how to fix this warning when I build my RCP app?
>
> Could not resolve Class-Path item in
> org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path
> is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping
>
> Regards
>