95

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!)

johnnyRose
  • 7,310
  • 17
  • 40
  • 61
tentimes
  • 1,462
  • 1
  • 11
  • 16
  • Um, so you mean there is no download? That's me stuffed :( – tentimes Mar 05 '15 at 15:08
  • Sadly, I don't think so. Please have a look at my recent answer. – José Pereda Mar 05 '15 at 15:13
  • Well, code is out there. Check also this [link](http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-March/016751.html) – José Pereda Mar 05 '15 at 15:18
  • @James_D So is the Scene Builder program being discontinued? Will they continue updating it as new versions of javaFX come out? –  Apr 04 '15 at 19:51
  • 1
    @NotNotLogical Oracle will not be updating it. It is now Open Sourced, but Gluon seem to be publishing builds on that open source, so best follow them I think. – tentimes Apr 06 '15 at 10:13
  • I just opened a NetBeans and... no anywhere FX Scene Builder. It seems that Microsoft buy Oracle - the same ecosystem principles! Ha-ha – Sergey Orlov Jan 17 '16 at 09:48
  • for latest release of Scene builder you can find it here from http://gluonhq.com/products/scene-builder/ – Emmanuel Ogoma Feb 05 '18 at 14:33

3 Answers3

86

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.

Salvioner
  • 303
  • 5
  • 16
José Pereda
  • 44,311
  • 7
  • 104
  • 132
  • But that's the source code download site, not the general availability site. I think it is just an oversight when they updated it to 8u40 (yesterday?). – James_D Mar 05 '15 at 15:14
  • They say it loud and clear: *Starting with Oracle Java SE 8u40, Oracle does not provide a separate set of accompanying JavaFX Scene Builder binaries* – José Pereda Mar 05 '15 at 15:14
  • 4
    OK, that's a bit of a surprise. Gluon seems to be the way to go. – James_D Mar 05 '15 at 15:40
  • Thanks for the link to Gluon, I got a jar of Scene Builder there. I suppose we will just have to wait for them to release it as an executable for use in IntelliJ. I will tweet them to see what is up and report back if I get an answer. – tentimes Mar 05 '15 at 15:40
  • Thanks for the link to the binary - really glad you found it! Works fine in IntelliJ. – tentimes Mar 11 '15 at 13:18
  • @JoséPereda Is Scene Builder being discontinued then? What's the deal? –  Apr 04 '15 at 14:16
  • 1
    @NotNotLogical I can't tell. Based on this Jira [issue](https://javafx-jira.kenai.com/browse/RT-40184), it seems the source code will be in JDK 9, which means they will make the necessary changes to keep it in sync with the new JDK. Whether they will add new JavaFX features or not, again, I can't tell. Based on the huge number of downloads from Gluon's built, I guess Gluon will try to keep it as much updated as possible, and being open [sourced](https://bitbucket.org/gluon-oss/scenebuilder), anyone can contribute. – José Pereda Apr 04 '15 at 21:52
  • 1
    Hi everyone, it seems Oracle still didn't fix this issue. Although I'm using Java SE7, I can't find a way to download SceneBuilder. I used to have it work 2 years ago. I don't get why they suddenly removed the binaries from their website. Does anyone of you have any update about this issue? If so, please let me know. – riroo Jun 17 '15 at 08:12
  • Is anybody else having issues opening "old" fxml files with the gluon version of SceneBuilder or is it just me? Components are out of place on Gluon SceneBuilder... – Maverick283 Dec 05 '15 at 19:43
63

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
khollenbeck
  • 16,028
  • 18
  • 66
  • 101
0

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

Abhijeet
  • 689
  • 2
  • 10
  • 19