Reputation: 13
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"
(I've already put in the path to scene builder from settings)
Upvotes: 1
Views: 25216
Reputation: 1
Open IntelliJ -> File menu -> Setting -> Type "Scenebuilder"
Paste the path extracted from properties:
Upvotes: 0
Reputation: 11649
Please do the following steps:
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)
Open IntelliJ -> File menu -> Setting -> Type "Scenebuilder"
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
Upvotes: 5
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.
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.
5.Apply the changes and close the dialog.
Upvotes: 0
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
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