Oracle promises to deliver for Linux later, but "I want it all and I want it now".
So here is how to get SceneBuilder running in Linux.
- Create a directory where you want to install SceneBuilder.
- Download the Mac OS X version of SceneBuilder from Oracle.
- Unpack the dmg-file with 7z
7z x javafx_scenebuilder-1_0-beta-b32-macosx-universal-26_mar_2012.dmg - You'll get 8 files numbered from 0 to seven. Now unpack 4.hfs
7z x 4.hfs - Now copy all the jars from
JavaFX Scene Builder 1.0/JavaFX Scene Builder 1.0.app/Contents/Resources/Java
to the directory you created in 1. - To start SceneBuilder just run java with
java -cp /opt/javafx/rt/lib/jfxrt.jar:javafx-beans-dt.jar:javafx-designtime.jar:SceneBuilder.jar com.oracle.javafx.authoring.Main
Note: My JavaFX installation (JavaFX 2.1 build b19) is in /opt/javafx. You have to change this to match your system. - Voilá :
Maybe it's a bit early to try this with the lates beta build on Linux but I surely hope JavaFX will not break the Java WORA principle and this gets sorted out before the official release.
2 comments:
Did you tried to disable the OpenGL pipeline ?
You can do it by addind the -Dprism.order=j2d Java Option.
great! that solved the problem.
Post a Comment