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


Question

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?

1
4
3/16/2013 7:54:37 AM

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.

3
4/3/2014 11:07:55 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon