Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error opening scene builder

I'm making a program with Javafx Eclipse and I get an error when I open the program with the Scene Builder

This is the error:

Opening the file with SceneBuilder failed.  Try setting the absolute path to scenebuilder in your preferences 
like image 533
user3717596 Avatar asked Jun 07 '14 10:06

user3717596


People also ask

How do I open FXML files in Scene Builder?

If you are using Scene Builder of the version 1. x, the Scene Builder tab is empty. In this case, right-click the necessary . fxml file in the Project tool window and select Open In SceneBuilder from the context menu.

How do I open FXML files in Scene Builder Intellij?

Starting Scene Builder from IntelliJ IDE In the Projects tab, right-click the sample. fxml file and select Open In Scene Builder, as shown in Figure 3-4.

How do I find Scene Builder EXE?

By default, the JavaFX Scene Builder software is installed at C:\Program Files\Oracle\JavaFX Scene Builder 1.0 on a Windows platform. If you install a 32-bit version of the JavaFX Scene Builder on a 64-bit Windows machine, the default installation location is C:\Program Files (x86)\Oracle\JavaFX Scene Builder 1.0.


1 Answers

Set the SceneBuilder executable path in the JavaFX of your Eclipse IDE as the following:

  1. Window -> Preferences -> JavaFX
  2. Click "Browse" and navigate to the JavaFXSceneBuilder2.0 bash file (linux) or JavaFXSceneBuilder2.0.exe (windows) like the following:

    Windows: C:\Program Files (x86)\Oracle\JavaFX Scene Builder 2.0

    Linux: /opt/JavaFXSceneBuilder2.0/JavaFXSceneBuilder2.0

like image 70
Ashraf Sarhan Avatar answered Sep 20 '22 19:09

Ashraf Sarhan