JavaFX scene builder 2.0 error in Netbeans

后端 未结 6 1168
野趣味
野趣味 2021-01-19 03:03

When I try to set the scene builder home in Netbeans 7.4 and target the /Applications/JavaFX Scene Builder 2.0.app its throwing me an error:

Selected locatio         


        
6条回答
  •  终归单人心
    2021-01-19 03:40

    SceneBuilder 2 produces FXML compiant with Java 8.

    NetBeans 8 has official support for Java 8, so use SceneBuilder 2 with NetBeans 8+ running on Java 8+.

    Oracle provides an official tutorial on the use of SceneBuilder 2 and NetBeans 8. Follow the tutorial to get it to work.

    Configuring the Scene Builder Installation Location

    If you did not install Scene Builder in the default installation location, use the following steps to let NetBeans IDE be aware of its location:

    1. From the IDE's Main menu, select Tools and choose Options.

      On the Mac OS platform, select NetBeans and choose Preferences from the Main menu.

    2. In the Options window, click Java and then the JavaFX tab.

    3. Specify the location of the Scene Builder installation folder and then click OK.

提交回复
热议问题