Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans 7.2.1 broken reference : dist.jar (when coding on a JavaFX file)

Tags:

javafx

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?

like image 919
Emmanuel Avatar asked Mar 16 '13 07:03

Emmanuel


1 Answers

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.

like image 75
omkar Avatar answered Sep 17 '22 08:09

omkar