How to install JavaFx on Ubuntu?


I downloaded the JavaFx preview from oracle home page. It's a zip file, I wonder how one could install it on Ubuntu 12.04 pc.

10/16/2013 10:22:31 AM

Accepted Answer

See the installation instructions on the JavaFX 2 release notes for Linux.

To install:  Download the JavaFX SDK zip file from

Extract the SDK files from the zip file to a directory on your local file system.

There is more detailed info in these blog posts if you need it.

The blog posts also mention how to ensure that the correct codecs for media playback are installed.

5/5/2012 5:13:50 PM

I found it simpler to install a plain Oracle non-GPL Java 1.8 JDK on Ubuntu, JavaFX is included there and works automagically.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow