简体   繁体   中英

Using JavaFX (JDK 1.8.0_40) in Eclipse Luna does not show the SceneBuilder to create the UI

I am new to JavaFX. When I try to build a simple JavaFX program in Eclipse Luna. after I created the new FXML Document, I try to open the .fxml file through the scenebuilder, Eclipse shows the following message in the editor:

"opening the file with scene builder failed. Try setting the absolute path to scenebuilder in your the preferences"

Any hints how to solve this Problem?

There is setting to set the path to the Scenebuilder in Eclipse. Go to the preferences and search for the JavaFX tab.

Scenebuilder首选项

EDIT:

The reason for not finding the scenebuilder in the jdk 8 build is that Oracle has decided to no longer provide binary downloads for it.

Have a look at these posts: Oracle Scenebuilder JavaFX 8

Btw, you can find the recent builds of scenebuilder at http://gluonhq.com/products/downloads/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM