maxy01
maxy01

Reputation: 13

Failed to start scene builder

Whenever I try to open an fxml file with scenebuilder from Intellij it gives me this:

Failed to start SceneBuilder: "C:\Program Files (x86)\Oracle\JavaFX Scene Builder 2.0"

1

(I've already put in the path to scene builder from settings)

Upvotes: 1

Views: 25216

Answers (5)

Maina
Maina

Reputation: 1

  1. Go to sceneBuilder file location right click and select properties and extract path:

  1. Open IntelliJ -> File menu -> Setting -> Type "Scenebuilder"

  2. Paste the path extracted from properties:

Upvotes: 0

Sal-laS
Sal-laS

Reputation: 11649

Please do the following steps:

  1. Download and install SceneBuilder from the website (Get the version respected to your Java, so if you use Java 8, then download the Scene Builder for Java 8)

  2. Open IntelliJ -> File menu -> Setting -> Type "Scenebuilder"

  3. Assign the location of SceneBuilder in your local machine to the path (Please find the attached image)

Now you should be able to open the sample.fxml file using scenebuilder

enter image description here

Upvotes: 5

Malintha Nilhan
Malintha Nilhan

Reputation: 3

1.Download and install the latest version of Scene Builder.

2.In the Settings/Preferences dialog Ctrl+Alt+S, select Languages and Frameworks | JavaFX.

Look at this

3.Click the Browse button in the Path to SceneBuilder field.

4.In the dialog that opens, select the Scene Builder application (executable file) on your computer and click OK.

Example

5.Apply the changes and close the dialog.

Upvotes: 0

Alister Gomes
Alister Gomes

Reputation: 21

Saved Path: C:\Program Files (x86)\Oracle\JavaFX Scene Builder 2.0\JavaFX Scene Builder 2.0.exe

Solution: Go to the location where the scene builder 2.0 actual file exists and right click->properties->compatibility->uncheck run as administrator. Done

Upvotes: 2

Nick
Nick

Reputation: 842

Make sure that in Intellij IDEA settings you point to the executable file called SceneBuilder (in Gluon it is located under the opt folder)

Upvotes: 2

Related Questions