Slashdot Mirror


Sun Releases JavaFX

ink writes "Sun released JavaFX 1.0 today, in a bid to take on Adobe's Flash and Microsoft's Silverlight technologies. It is Sun's first Java release to include standardized, cross-platform audio and video playback code (in the form of On2 licensed codecs). The lack of a Linux or Solaris release is a notable absence. The development kit currently consists of the base run-time, a NetBeans/Eclipse plug-in and a set of artifact exporters for Adobe CS 3&4." An anonymous reader adds a link to several tutorials accompanying the new release.

18 of 185 comments (clear)

  1. Probably Also Contending with OpenLaszlo by eldavojohn · · Score: 4, Informative

    ... in a bid to take on Adobe's Flash and Microsoft's Silverlight technologies

    Well, I will throw out there a heads up to folks about OpenLaszlo which is the "run-anywhere, no-lock-in rich Internet platform. Period."

    Unfortunately it still has a massive adoption curve ahead of it so maybe there's no reason to list it as a contender. While there are neat demos, a few companies have employed it: Wal-Mart, Pandora even MSN's music service.

    *sigh* I wonder if this means Sun is going to pull out of Orbit and come up with some J2ME version of JavaFX?

    Like always, I welcome the competition, diversity and options this brings while I cringe at the thought of yet another schism in the open source community.

    --
    My work here is dung.
    1. Re:Probably Also Contending with OpenLaszlo by civilizedINTENSITY · · Score: 4, Informative

      OpenLaszlo compiles to either flash or DHTML. Its not a Flash lock-in.

    2. Re:Probably Also Contending with OpenLaszlo by Air-conditioned+cowh · · Score: 4, Insightful

      OpenLaszlo compiles to either flash or DHTML. Its not a Flash lock-in.

      I'd be surprised if it were possible to display streaming video in just DHTML.

    3. Re:Probably Also Contending with OpenLaszlo by fredrik70 · · Score: 5, Funny

      well, with html 5 we all will have the video tag so there's a solution in sight - hopefully!

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
  2. SO confusing.. by TheDarkener · · Score: 5, Interesting

    No shockwave for Linux, Flash 64 gets released JUST for Linux, Sun open-sources Java, but now no JavaFX for Linux...

    Can't we all just get along? My head is spinning at all the end-user requests for their intarwebs to work correctly. I guess it's just too much to ask for a real, open standard that just works (like...umm...html?)

    --
    It is pitch black. You are likely to be eaten by a grue.
  3. Re:sorry by AKAImBatman · · Score: 4, Informative

    My main problem is..."include standardized, cross-platform audio and video playback code (in the form of On2 licensed codecs)"

    On2 is the company that provides the video/audio codecs for video in the Flash plugin. (i.e. The technology used by sites like Youtube.) The inclusion of these codecs in JavaFX means that JavaFX will be able to play movies intended for a Flash player.

    And..."The development kit currently consists of the base run-time, a NetBeans/Eclipse plug-in and a set of artifact exporters for Adobe CS 3&4."

    In other words, JavaFX is a scripting language for graphics. Similar in principle to Flash. The download gives developers the necessary libraries and viewers to develop JavaFX code. (Including plugins for your favorite IDE.) Not sure what the Adobe CS stuff is about.

  4. Re:Existing plugin by AKAImBatman · · Score: 4, Informative

    Why is this not running on top of the existing java plugin.

    It is. This is really a set of libraries on top of the existing Java runtime that support the JavaFX scripting framework.

    Or at least add the functionality to the next release of java.

    I'm sure they will once the technology has been shaken out a bit. Sun tends to be cautious about making changes to the core APIs.

  5. JavaFX on Android by vivin · · Score: 4, Insightful

    What I'd really like to see is JavaFX running on Android. I saw a presentation from Java One where it showed a JavaFX app running on Android. Has anyone been able to duplicate this:

    http://www.youtube.com/watch?v=OYy4j9x2Mi4

    I've played around with JavaFX and it seems pretty nice. I've been able to write small widgets with it. Whether it can take on Silverlight and Flash still remains to be seem. What's awesome is that JavaFX has the support of Java's rich API and 3rd-party libraries (you can easily import them into a JavaFX program).

    Also if JavaFX apps can run properly on Android or the iPhone, I think that would also help it be more successful.

    --
    Vivin Suresh Paliath
    http://vivin.net

    I like
  6. Just what the web needs by mtarnovan · · Score: 4, Interesting

    ... another RIA platform. Only this one doesn't have a userbase yet and I don't think it'll have one to speak of in the near future; it is Windows and Mac OS only (though Sun promises that Linux and Solaris support is underway http://blogs.sun.com/javafx/entry/a_word_on_linux_and). Microsoft has been pushing Silverlight hard and still has only about 30% market penetration in the US (they claim 50% mp in 'some countries' - I'm very curious which countries are these: http://www.microsoft.com/presspass/press/2008/oct08/10-13Silverlight2PR.mspx). With Flash+Flex having a comfortable user base of some 90+%, let's not even begin to compare Microsoft's vs Sun's power to push stuff to the desktops of the masses, it's not even funny.

  7. Linux support is 'coming' by Anonymous Coward · · Score: 4, Informative

    From the link:

    "We are going to support Linux and Solaris. We love both operating systems....we are actively working on it right now. We have it in our continuous build system."

    and

    "So why didn't we ship for Linux and Solaris in 1.0 along with Mac & Windows?

    Simple. It's not ready yet. Certain features are there but other features are broken or not performing well enough. In particular video and graphics hardware acceleration have historically been tricky to implement properly on Linux and Solaris, as users of native apps for those operating systems know all too well. But we are working on it and will ship it."

    1. Re:Linux support is 'coming' by A12m0v · · Score: 5, Insightful

      Linux and Solaris count towards less than 5% of the market. Sun did the smart thing by bringing it to the mass OS market, instead of delaying it. If they delayed it, they'd have lost their window of entry, and maybe lost the market entirely to Adobe AIR.

      --
      GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
  8. It does work on linux by Anonymous Coward · · Score: 5, Interesting

    what is this linux support all you frothing nerds are screaming about? I just ran the "web start" examples in linux just fine, in fact FX runs on the standard JRE. Ok, there's no sdk for linux yet, FINE, just cut them some slack, for christ sake.

  9. Come back forwards on that reversal again...? by Odin's+Raven · · Score: 5, Funny

    The lack of a Linux or Solaris release is a notable absence.

    So if we have an absence of a lack, does that mean there is a Linux and/or Solaris release? :-P

    And yes, I don't think I'm not being overly pedantic in noting the presence of an absence of a lack of internal bouyancy in the summary, since that's a term whose inapplicability wouldn't be not out of place in this sentence.

    --
    A marriage is always made up of two people who are prepared to swear that only the other one snores.
  10. JavaFX 1.0 SDK running on Linux by vivin · · Score: 5, Informative

    I was able to get the SDK to run on Linux. Full details here. Please don't kill my box :)

    --
    Vivin Suresh Paliath
    http://vivin.net

    I like
  11. Holy Halleluja! Unbelievable! by Qbertino · · Score: 5, Insightful

    They've done it! They have *finally* done it. Beyond all hype, potential vaporware and marketing bullcrap they have - for once - actually pulled through with RIAs. People this is the first time in history that Sun has actually pulled through with implementing a piece of Java in a form that Java was initially meant for: A cross plattform rich & powerfull client enviroment. Finally Java and its VM have stepped up and entered the ring with Flash!

    Only intially releasing for OS X and Windows is a large downside, as it will get negative votes from opinion leaders in the field, but the simple fact that they pulled through and didn't stop at 20% with some half-assed crappy Java Media Framework or some other piece of sh*t they've released ever since Flash took the helm at rich clients 10 years ago is a very big supprising plus!!! And the release-website (why the f*ck isn't this, the most important prime sorce even linked in the GP metaarticle???) doesn't even look like total crap.

    If they actually manage to pull through with a broad parallel release policy for this in the near future, manage to reduce JFX deployment to zero-fuss Flash-style and release the java-based FOSS tools and IDEs for JFX as announced a year ago, we will - for the first time in the history of the web - see a true competitor to Flash rise. This is good news in so many ways I can't even describe. If Sun plays its cards right and continues applying common sense and not screwing around this time and Adobe isn't on its toes, we will have a fully free open source rich client platform in just a few years and Flash will be history. Yay! Go, Sun, go!

    I can't tell you how much I and many other professional Flash developers have waited for this moment for the last 8 years.

    --
    We suffer more in our imagination than in reality. - Seneca
  12. Re:Flash and Silverlight the target? by squiggleslash · · Score: 4, Informative

    Android - Mobile phone stack, making heavy use of Java technology. While Sun's not directly involved, Jonathan Schwartz has spoken highly of it.

    JavaFX - Web multimedia/interactivity stack, similar to Flash and Silverlight.

    The two are not competitors. Sun is not pushing JavaFX to compete with Android any more than Microsoft is pushing Silverlight to destroy Windows CE.

    --
    You are not alone. This is not normal. None of this is normal.
  13. Re:Flash and Silverlight the target? by bjourne · · Score: 4, Informative

    Sorry, you are misinformed. The Andorid platform was announced 20071105. JavaFX framework was announced at Java One in May 2007 six months earlier. Calling JavaFX a response to Android is plain incorrect and an apples to oranges comparison to boot.

  14. Re:Not really, no. by ChunderDownunder · · Score: 4, Informative

    The download for Java *is* as small as possible. If you go to Sun's download page and select the "Windows Kernel Installation", the installer is 0.20 MB

    It then dynamically downloads components from the network as required.

    More information about this here.

    Don't ask me why (I guess it's an experimental feature they're prepping for the Java 7 release) but for the time being you have to access it via Sun's developer site rather than the consumer java.com one. Hmmm.