Skip to content

JavaFX 1.1 for Linux workaround

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.

javafx linux ubuntu extract

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.

netbeans javafx linux step01

netbeans javafx linux step02

netbeans javafx linux step03

3) Click on the Add Plugins button and head to the directory you extracted the file and select all .nbm files.

netbeans javafx linux step 04

4) You will see a list of 22 plugins selected. Click on the Install button.

netbeans javafx linux step 05

5) Just keep clicking on the Next button.

netbeans javafx linux step 6

6) Check the license agreement accept box.

netbeans javafx linux step 7

7) You’ll see a warning because the Linux pluggin is not signed. Don’t worry, just click Continue.

netbeans javafx linux step 8

8) Click on Finish to restart NetBeans.

netbeans javafx linux step 9

9) Now we can test it. Go at File → New Project, select the JavaFX on Categories and JavaFX Script Application on Projects.

netbeans javafx linux step 10

10) Put some code and run it. There is. JavaFX on Linux.

netbeans javafx linux step 11

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.

Published inenglish

8 Comments

  1. Giovanni Giovanni

    Hello Silveira,

    thank you very much for this dummy proof tutorial 🙂

    I am happy that tonight I will start programming using JavaFX!

    Giovanni

  2. 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!

  3. Again, thanks for this information. From today I’m learning JavaFX script language! It’s running on Ubuntu 9.04 Jaunty Jackalope. So long!

  4. JOKe JOKe

    JavaFX 1.2 is ready. It has Linux support on the fly 🙂

    GO AND GET IT :))

Leave a Reply

Your email address will not be published. Required fields are marked *