I'm trying to learn JavaFX with reading some tutorials however, I couldn't even implement the "helloworld" application. The NetBeans said:
Error: Could not find or load main class helloworld.NewFXMain Java Result: 1
and then when I checked Properties-->Libraries-->Run part there is a warning which says
Broken reference : dist.jar
How can I solve this?
when you create a new project in java fx and want to run the project for demo then this error occur . you can try it given below:- 1.right click on project. then click on clean and build. its running your project in netbeans.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With