JavaFX Scene Builder available for linux support?

I canโ€™t find the JavaFX scene Builder Linux package on the official Oracle website http://www.oracle.com/technetwork/java/javafx/overview/index.html is there any solution so that I can work on it on Linux records?

+6
source share
6 answers

The MAC OS version also runs on Linux, because SceneBuilder is 100% pure Java, basically. Download the Mac OS DMG file here: http://www.oracle.com/technetwork/java/javafx/downloads/index.html

Then extract using 7-zip. This is 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 a large number of files. You will need only "JavaFX Scene Builder 1.0 / JavaFX Scene Builder 1.0.app/Contents/Java". You can delete all other files. Scenebuilder Start:

 $ 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 

An exception will appear if you start to say something about "ClassNotFoundException: com.sun.prism.es2.gl.x11.X11GLFactory", but it will still work.

Please note that you will need JDK7u6 to run it.

+18
source

Currently, there is an official announcement of the official developer SceneBuilder for Linux .

Release notes, installation instructions, and known bugs .

This preview makes obsolete smart workarounds published in previous questions for using Wine or Mac OS X version of SceneBuilder on Linux.

+10
source

Yes. Take a look at JavaFX Scene Builder.

Download Developer Preview

+6
source

Yes, you are right, there is no Linux version yet, unfortunately.

I asked on the JavaFX forum earlier this year, you can find the answer from Jeff MacDonald here:

https://forums.oracle.com/forums/thread.jspa?threadID=2369765&start=15&tstart=0

So, I think you have 2 options:

  • Manually edit the FXML file
  • Use the virtual machine on which the OS supported by Scence Builder is installed, and you use it to edit the FXML files. (You could, for example, share the directory between the Linux host and the guest and save the rest of the development on Linux.)
+2
source

I have a script working on linux. 1. received a MacOS version (.dmg file) 2. extracted .jar files 3. Created the proper structure 4. created a script that executes the correct command 5. win

+2
source

One option that I use while it is not officially supported for Linux is to install the Windows Scene Builder version through Wine.

+1
source

Source: https://habr.com/ru/post/917399/


All Articles