I am trying to build JavaFX application in the Apache NetBeans IDE 21 and keep facing this error whenever I try to run the program. I have created a library linked to the JavaFX SDK and also added the –module-path “D:javafx-sdk-22.0.1lib” –add-modules javafx.controls,javafx.fxml to the VM options as well.
I’ve tried methods like clean and building first and some other solutions on the internet.
New contributor
Phurint is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.