Where has the JavaFX scene builder gone?

Intellij IdeaJavafxJavafx 8FxmlScenebuilder

Intellij Idea Problem Overview


I am trying to find the elusive JavaFX scene builder so I can use it in Intellij. I am on Windows OS.

Oracle have stated that the JavaFX scene builder is included in a new download, but no matter how I search I cannot find it (see http://www.oracle.com/technetwork/java/javafx/downloads/index.html). I think they have linked to the incorrect page and Googling for it is getting me nowhere.

I already have Java 8 SDK installed and working fine. Apparently JavaFX is now included in that, but nowhere in the Java folder can I find the scene builder and it seems to be completely missing online.

Please can anyone help? I am just wanting to write a small GUI program and it seems like JavaFX is the way to go (if it isn't then feel free to disabuse me of this notion!)

Intellij Idea Solutions


Solution 1 - Intellij Idea

With JDK8u40, according to this:

> Starting with Oracle Java SE 8u40, Oracle does not provide a separate set of accompanying JavaFX Scene Builder binaries. If you would like to contribute changes, ideas or just let us know what you have done with the code, please consult the OpenJDK Community contribution guidelines and join the openjfx-dev mailing list.

You can still download the last binary at Oracle in this link. But check this warning:

> WARNING: These versions of JavaFX Scene Builder may include components that do not contain the latest security patches and are not recommended for use in production.

This means it doesn't include the last changes of 8u40, like the new Spinner control.

Alternatives

The project is open source, and you can find the updated code at the OpenJFX repo. So you are free to download it and build it.

Since its released under BSD license, Gluon is offering support for an updated version of Scene Builder, and you can download an installer for your platform or an executable jar from here.

Besides, they have an open repository where anybody can contribute.

Solution 2 - Intellij Idea

Install JavaFx Scene Builder (Gluon) with Intellij 14 on Windows with JDK7

This will probably work with Java 8 as well but I am using 7 so I didn't test 8.

I know this has been answered but this might be helpful for future Intellij users. To get scene builder to work with Intellij 14 use the following steps.

  1. Install Scene Builder for Windows. Download/Install From Here (Windows Installer (x64))
  2. Set Scene Builder path to executable in Intellij. File -> Settings -> Languages And Frameworks -> JavaFx By default mine installed under C:\Users\kris\AppData\Local\SceneBuilder\ enter image description here
  3. Open your .fxml file. Click on the scene builder tab. enter image description here

UPDATE 2019:

  • The default install path appears to know be "Program Files" C:\Program Files\SceneBuilder\SceneBuilder.exe
  • JavaFX plugin might need to be enabled in Intellij 2019

Solution 3 - Intellij Idea

On a mac, in Intellij, you need to go to preferences, then type JavaFX and then do this. Please look at the attached Image.

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontentimesView Question on Stackoverflow
Solution 1 - Intellij IdeaJosé PeredaView Answer on Stackoverflow
Solution 2 - Intellij IdeaKris HollenbeckView Answer on Stackoverflow
Solution 3 - Intellij IdeaAbhijeetView Answer on Stackoverflow