Sun released the JavaFX Preview five days ago. One of the key deliverables of this technology preview release is the JavaFX Preview SDK (the other three being a NetBeans bundle, Project Niles, and JRE 6u10).
The preview release is met with general enthusiasm from the Java camp, with predictable "too little, too late" chants from certain corners of the RIA world. I believe Kirk Pepperdine's analysis to be on the mark:
Kirk Pepperdine: JavaFX has already made a big difference in how client side Java works and this promises to get better. Stephan Janssen (www.parleys.com) demonstrated in a keynote at both JavaONE and TSSJS-Europe that JavaFX can provide an experience that rivals Adobe Air. And we can't forget that JavaFX has the added advantage that is it Java and as such will have all of the rich Java APIs available to it. With this in mind, I'm pretty optimistic that JavaFX, being free and open, will become the preferred choice for building rich clients if....
One thing that people noticed right away is the fact that the JavaFX Preview SDK is available for Windows and Intel/Mac, but not Linux or Solaris. A cursory examination of the Windows and Mac OS X version of the JavaFX Preview SDK reveals that they are almost identical in content. The only differences are in native libraries and startup scripts/executables. The native libraries fall into the area of native audio/video playback and (for Windows) some 3D effects.
"Hmm, I bet if I download the zip version of the Mac OSX release, it would work on Linux!"
And guess what? It—most of it anyway, native video playback being the exception—does work.
Here's what I did:
Download the zip version of the Mac OSX release (it contains start-up shell scripts that the Windows release does not)
Unzip it in /opt to get a /opt/javafx-sdk1.0pre1/ tree
Add /opt/javafx-sdk1.0pre1/bin to $PATH
Set $JAVAFX_HOME to /opt/javafx-sdk1.0pre1
With this setup, all the little snippets of JavaFX Script code I've written to test out the language features compile and run fine. What's more, the five sample programs that come with the SDK also run fine. Here's a screen cast of them being run on my Debian 4.0 GNU/Linux amd64 (Linuxy format, you may need to download VLC to view):
Note that an official Linux version of the JavaFX SDK is promised for release 1.0. This post is only meant for the impatient Linux folks out there who just want to try some of the stuff out.