I downloaded the JavaFx preview from the oracle homepage. This is a zip file, I wonder how it can be installed on Ubuntu 12.04 pcs.
See the installation instructions in the JavaFX 2 release notes for Linux. http://docs.oracle.com/javafx/2/release_notes_linux/jfxpub-release_notes_linux.htm
To install: Download the JavaFX SDK zip file from http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html
Extract the SDK files from the zip file to a directory in the local file system.
More information on these blogs if you need it.
http://www.weiqigao.com/blog/2012/01/26/javafx_2_1_sdk_developer_preview_comes_to_linux.html
http://www.weiqigao.com/blog/2012/02/03/running_32_bit_javafx_2_1_beta_sdk_on_64_bit_ubuntu_11_10.html
, .