WELL those folks over at Oracle have tried to leave us Linux lads out again, however, the downfall is the very language they use.
JFX SceneBuilder is written in - yep - Java. For those of us with the linux affliction, all you have to do is download the Mac OSX DMG file, this is a 7z'd filesystem. Here are the sweet comments I found on StackOverflow on how to do it: (Works like a charm once you have the latest jvm installed).
Then extract with 7-zip. It's a compressed HFS file system.
Note that you'll need JDK7u6 to run it.
My guess is this will work for any system that you can get JDK7u6 and p7zip on.
Heres a neat tip, in the aforementioned dir:
This will give you an executable file called sceneBuilder.sh, which you can run by double clicking, or by typing ./sceneBuilder.sh and pressing enter.
Cheers
N
JFX SceneBuilder is written in - yep - Java. For those of us with the linux affliction, all you have to do is download the Mac OSX DMG file, this is a 7z'd filesystem. Here are the sweet comments I found on StackOverflow on how to do it: (Works like a charm once you have the latest jvm installed).
Then extract with 7-zip. It's a compressed HFS file system.
$ mkdir javafx_scenebuilder
$ 7z e -ojavafx_scenebuilder javafx_scenebuilder-1_0-macosx-universal.dmg
Now extract the HFS partition:$ cd javafx_scenebuilder
$ 7z x 4.hfs
This will extract lots of files. You'll only need "JavaFX Scene
Builder 1.0/JavaFX Scene Builder 1.0.app/Contents/Java". You can remove
all other files. Start Scenebuilder:$ cd "JavaFX Scene Builder 1.0/JavaFX Scene Builder 1.0.app/Contents/Java"
$ java -cp javafx-beans-dt.jar:javafx-designtime.jar:jfxrt.jar:SceneBuilder.jar com.oracle.javafx.authoring.Main
There'll be an exception upon start saying something about
"ClassNotFoundException: com.sun.prism.es2.gl.x11.X11GLFactory", but
it'll work anyway.Note that you'll need JDK7u6 to run it.
My guess is this will work for any system that you can get JDK7u6 and p7zip on.
Heres a neat tip, in the aforementioned dir:
$ echo cd `pwd` > sceneBuilder.sh && echo "
java -cp javafx-beans-dt.jar:javafx-designtime.jar:jfxrt.jar:SceneBuilder.jar com.oracle.javafx.authoring.Main" >> sceneBuilder.sh && chmod +x sceneBuilder.shThis will give you an executable file called sceneBuilder.sh, which you can run by double clicking, or by typing ./sceneBuilder.sh and pressing enter.
Cheers
N
Interesting information I haven’t been through such information in a long time.
ReplyDeletetest builder
Thanks Randy
DeleteI hope to try and run scene builder on a local Debian install on my Nexus 7