3

I am trying to run a simple java fx example with Maven on Netbeans 11 with openjdk 11. I followed the OpenJfx tutorial up to the creation of JavaFx as a global library.

But then when I want to add this global library to my project, the "libraries" node is missing in the project properties menu ?

enter image description here

How can I have this Libraries node present in the menu ? Or is there another way to add a global library to a project ?

Any help appreciated,

HelloWorld
  • 2,275
  • 18
  • 29

1 Answers1

0

Indeed I was following the part of OpenJfx tutorial that creates an Ant project, whereas I was creating a Maven project.

If instead I use an Ant project, then the "libraries" node appears.

But the interesting part for Maven is further down. And there they write to create a Maven project from archetype.

Eventually it is working !

enter image description here

HelloWorld
  • 2,275
  • 18
  • 29