Download
javafx4linux.tar.bz2 (~ 36Mb).
Installing
1) Extract the javafx4linux.tar.bz2 file. In this example I’m placing it on my Desktop. After the installing process you can remove it.
2) Open your NetBeans 6.5 and go at Tools → Plugins and go to Downloaded tab. In a plain and new NetBeans installation there will be no plugin in this tab yet.
3) Click on the Add Plugins button and head to the directory you extracted the file and select all .nbm files.
4) You will see a list of 22 plugins selected. Click on the Install button.
5) Just keep clicking on the Next button.
6) Check the license agreement accept box.
7) You’ll see a warning because the Linux pluggin is not signed. Don’t worry, just click Continue.
8) Click on Finish to restart NetBeans.
9) Now we can test it. Go at File → New Project, select the JavaFX on Categories and JavaFX Script Application on Projects.
10) Put some code and run it. There is. JavaFX on Linux.
Considerations
This is not a official of JavaFX for Linux! This solution was tested on Ubuntu 9.04 “Jaunty Jackalope” with Java 6 update 13 and NetBeans 6.5.1, but should also work with others Linux distributions and Java versions greater than 5.
Known bugs
As a non official workaround for JavaFX for Linux you may notice some drawbacks. Some parts of the JavaFX runtime rely on native implementations on the specific operational system. You may not use some multimedia capabilities as video playback, JavaFX Mobile emulator and some performance issues in some effects. Despite that, is perfectly possible to develop applications using JavaFX on NetBeans.
Thanks
I’d like to thanks some guys around the world. Weiqi Gao’s original post on JavaFX on Linux, HuaSong Liu article on DZone and Kaesar Alnijres post.
This solution works for me. Thanks Silveira!
I only wonder why it doesn’t work on Netbeans 6.7 beta. It says it needs some “editor hints”.
Great Thank’s) Work FINE)
Thanks, It worked for me too perfectly
Hello Silveira,
thank you very much for this dummy proof tutorial 🙂
I am happy that tonight I will start programming using JavaFX!
Giovanni
Hi!
After at all, thanks for this guide!
I received this message during JavaFX installation on NetBeans 6.7 Beta:
“Some plugins require plugin Editor Hints to be installed.
The plugin Editor Hints is requested in implementation version 6. The following plugin is affected: Â Â Â Â Â Â JavaFX Editor”
Now installing 6.5 version of NB to test JavaFX plug-in
Bye!
Again, thanks for this information. From today I’m learning JavaFX script language! It’s running on Ubuntu 9.04 Jaunty Jackalope. So long!
JavaFX 1.2 is ready. It has Linux support on the fly 🙂
GO AND GET IT :))