Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Sun Releases JavaFX

Posted by timothy on Thu Dec 04, 2008 05:50 PM
from the does-it-roll-off-the-tongue-or-not dept.
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.
+ -
story

Related Stories

[+] Silverlight 2.0 Released 164 comments
rfernand79 writes "Via Scott Guthrie's Blog for Microsoft, we find out that Silverlight 2.0 has been released. The blog post notes some interesting statistics, including the magnitude of video streamed during the Olympics and the Democratic National Convention (both using Silverlight). 'Hello Worlds' and educational links are included in the post."
[+] Technology: Silverlight On the Way To Linux 475 comments
Afforess writes "For the past two years Microsoft and Novell have been working on the 'Moonlight' project. It is a runtime library for websites that run Silverlight. It should allow PCs running Linux to view sites that use Siverlight. Betanews reports 'In the next stage of what has turned out to be a more successful project than even its creators envisioned, the public beta of Moonlight — a runtime library for Linux supporting sites that expect Silverlight — is expected within days.' Moonlight 2.0 is already in the works."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • ... 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 [openlaszlo.org] 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 [openlaszlo.org], 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 [slashdot.org] 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.

    • by ink (4325) * on Thursday December 04 2008, @06:13PM (#25996071) Homepage

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

      That's not entirely true. OpenLaszlo relies on Flash to display video, and Flash is not a no-lock-in platform. You cannot redistribute Flash, or use it in a whole host of applications without licensing it from Adobe.

    • i am excited about XML UI programming languages, so i've been doing my part by porting (and supporting) the OpenLaszlo concepts, which are really fun and easy to learn, by the way) to other languages. Although OpenLaszlo is still the first thing i reach for when doing web apps, I'd love to see a Laszlo-Inspired layer over every interface system out there, JavaFX, certainly included in that
    • JavaFX on Android (Score:5, Insightful)

      by vivin (671928) <vivin DOT paliath AT gmail DOT com> on Thursday December 04 2008, @06:20PM (#25996149) Homepage Journal

      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 [youtube.com]

      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.

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

      I don't know about Orbit, but a JavaME version of JavaFX [sun.com] is definitely in the works. And to clarify, JavaFX Mobile will be provided to handset manufacturers as a binary distribution, [cnet.com] for which Sun will charge a per-unit royalty.

    • Not really, no. (Score:4, Informative)

      by Qbertino (265505) on Thursday December 04 2008, @07:58PM (#25997319)

      Laszlo is a Generator for a few things - which also include Flash, nonetheless. Much like the old Macromedia Flash Generator, the Ming Libraries or the Macromedia Laszlo Rippoff 'Flex'.

      JavaFX on the other hand is an all-out leveraging of the Java VM for RIAs, something Laszlo can't offer. It's its own VM (naturally) plus a toolkit for building content and applications. While there are overlaps between the two, JavaFX is clearly aimed at Flash - the biggest advancement being a much more streamlines deployment of the Java VM (I just installed it with a sinlge click of a mouse, supported by some nifty Ajax widget that streamlined the process even more).

      And, contrary to Silverlight, Java actually has a chance to dethrone Flash, as it is the most mature cross plattform available, despite Flash being the most widespread plattform in general. I'm really interested in how this will play out. ... And am downloading the free JavaFX IDE as I'm typing this. If it doesn't get in my way building RIAs, I will probably never purchase a Flash IDE licence again.

      • The big problem with JavaFX is that, apparently, it requires a full Java VM on the client to work. This is about 15Mb to download. For comparison, Silverlight 2.0 is ~4Mb, and Flash is less than 1Mb. And yes, it is a big deal. Today, for anything other than Flash, you have to assume that the client won't have the plugin/runtime installed by default, so the download has to be as small as possible.

        • Re:Not really, no. (Score:5, Informative)

          by ChunderDownunder (709234) on Friday December 05 2008, @04:35AM (#26000537)

          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 [sun.com].

          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 [sun.com] rather than the consumer java.com one. Hmmm.

  • SO confusing.. (Score:5, Interesting)

    by TheDarkener (198348) on Thursday December 04 2008, @05:59PM (#25995855)

    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?)

    • I haven't tried this yet, but it was the same problem with the preview SDK. There was no linux version, but you could get the Mac version running on Linux:

      http://www.weiqigao.com/blog/2008/08/05/watch_javafx_sdk_run_on_linux.html [weiqigao.com]

      I'm assuming the same method can be used to run the SDK on Linux. I'm going to try this out now.

    • by Anonymous Coward on Thursday December 04 2008, @06:24PM (#25996219)

      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."

      • They shouldn't have shipped it at all then.

        I've been developing in mostly java for over a decade and tend to agree with most of Sun's decisions, but this is weak.

        If the product wasn't ready for all the target platforms than the product wasn't ready.
        • Re: (Score:2, Insightful)

          I think that it comes down to a business decision. Creating brand awareness, gaining market penetration etc. In these markets it seems that "days count". Get the "acronym", or prduct name or whatever out there - create a buzz - get some interest and momentum behind the idea and add features as you go. I for one applaud Sun's open source efforts and don't hold this against them. They are inventing / tweaking a very difficult business model by releasing free software and getting support / client / business /
        • by A12m0v (1315511) on Thursday December 04 2008, @08:13PM (#25997437)

          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.

    • Any time new features are implemented across all major browsers (yay CSS 2.1 in IE8) it makes me quite happy, as I'm just waiting to see how much functionality we can eek out of the web before the entire effort splinters apart into such closed non-standard vendor-specific solutions like Flash, Silverlight, JavaFX, etc.

      Now that CSS support is maturing, if we could just get SVG and a standard audio/video tag with Free codecs, I think we would be OK for the most common use cases.

    • I guess it's too much to ask that you click on the link in the story that takes you to Sun's blog where they explain that Linux and Solaris versions are being released?

      • I guess it's too much to ask that you click on the link in the story that takes you to Sun's blog where they explain that Linux and Solaris versions are being released?

        I wonder if those versions will be released before Duke Nukem Forever. I heard that was going to be released, too.

  • by mtarnovan (1337149) on Thursday December 04 2008, @06:22PM (#25996181)
    ... 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 [sun.com]). 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 [microsoft.com]). 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.
  • 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.

    So... cross-platform means PC and Mac? Or just PC?

  • by Lobais (743851) on Thursday December 04 2008, @06:45PM (#25996497)

    Even though it is still a shame,
    you CAN view JavaFX used on webpages. It seams to work just like java-applets, only nicer to look at. (Sadly it also has the same slow loading as applets)

    Example: http://javafx.com/samples/StopWatch/index.html [javafx.com]

    • That page actually crashed Firefox for me. Wasn't the slow loading applets the whole reason people went to Flash in the first place?
    • Applets slow starting was supposedly fixed in Java 6u10, if you have an older Java install the latest (http://www.java.com) and try again.

    • Wow.... I gave up after a full minute, using Safari 3 on OS X Tiger. Never did load anything. I think the stopwatch was me counting time go by, waiting for this demo to load.

  • by Anonymous Coward on Thursday December 04 2008, @06:46PM (#25996511)
    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.
  • by Odin's Raven (145278) on Thursday December 04 2008, @06:50PM (#25996565)

    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.

  • Flash and Silverlight? Yeah, right. Sun knows that Yet Another Web Development Framework isn't going to take over the desktop. This is a blatant attempt to stop Android taking over the mobile phone space. Android added native media playback classes and a bunch of other stuff to the J2ME mix, the HTC G1 was a surprise hit, and a whole bunch of cell phone manufacturers have now announced Android phones - not J2ME phones. Sun is seeing its lock on the mobile phone application market disappearing overnight, and

    • by squiggleslash (241428) on Thursday December 04 2008, @09:58PM (#25998357) Homepage Journal

      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.

    • by bjourne (1034822) on Friday December 05 2008, @03:10AM (#26000091)
      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.
      • Re: (Score:3, Interesting)

        Why is it so difficult to understand that Google's Dalvik - an implementation of Java being used for free by mobile phone manufacturers - is a direct threat to Sun's J2ME? This is not some secret conspiracy theory - professional business analysts, who actually make a living from watching these kinds of things, have noticed the same thing.

        "However, Google's move threatens Sun's business strategy, Mazzocchi said. He believes that Sun sees a bright future in the mobile market and hopes to earn revenue off the

  • by Qbertino (265505) on Thursday December 04 2008, @07:30PM (#25997025)

    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 [javafx.com] (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.

  • ...and has been for at least 20-30 minutes. I guess they didn't expect anyone to actually check out the site.

  • by TheModelEskimo (968202) on Friday December 05 2008, @01:29AM (#25999615)
    Seriously, look at the "Start" page on the JavaFX website. It gives you a choice of *three* radio buttons, and confusingly presents three different JavaFX-related packages. Nowhere does it say, "download all of these and get started," or even "which one do I want? Click our little expanding

    button to find out."

    Combine that with the 2nd-tier graphic design and interactivity going on all over the place, and it feels sort of like something that a) isn't going to win over the designer crowd and b) WHY on earth would Linux fans look at this as anything other than a snub? Sigh. (Anyway, I've downloaded all three packages, and I'll give it a go...)

  • Fail! (Score:3, Informative)

    by AdamInParadise (257888) on Friday December 05 2008, @01:37AM (#25999659) Homepage

    I tried the demo over at javafx.com and I got two security warnings (they use self-signed certificates) and one popup with a EULA. And the demo have some serious usability and display issues.

    I love Java and it pays my bills but Sun really have a long way to go to reach the acceptance level of Flash.

  • by DaveV1.0 (203135) on Friday December 05 2008, @09:09AM (#26002207) Journal

    Not supporting linux and solaris, which have less than 5% of the desktop market, is not notable and is, in fact, good business sense.

  • Alpha quality (Score:3, Interesting)

    by metamatic (202216) on Friday December 05 2008, @11:47AM (#26004037) Homepage Journal

    1. It needs to be an order of magnitude faster to load. I don't have to wait 20 seconds for Flash movies to start playing.

    2. It needs to not require a new runtime, with two nuisance security/license agreement dialogs.

    3. It needs to not crash Firefox.

    • Re:sorry (Score:5, Informative)

      by AKAImBatman (238306) * <(akaimbatman) (at) (gmail.com)> on Thursday December 04 2008, @06:13PM (#25996063) Homepage Journal

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

      On2 [wikipedia.org] 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.

        • Re: (Score:3, Interesting)

          what's your take on JavaFX?

          I have sort of a 'meh' reaction to it. It's not that the technology isn't cool, but it's a solution looking for a problem. Much like Silverlight, but without the antitrust practices to force it into use. In particular, its intended use as a platform on top of applets bothers me. Applets died out for a lot of good reasons. There's no good argument to be made for their revival. Especially with Flash and/or DHTML providing nearly all the advantages of Applets. Just let sleeping dogs

    • Re: (Score:2, Informative)

      Sun released JavaFX 1.0 today, in a bid to take on Adobe's Flash and Microsoft's Silverlight technologies.

      JavaFX, a technology by sun which will let developers write "rich internet applications" using a Java-esq language which has been in development for quite some time now has finally been released, joining rather late to the game. Also it requires it's own plugin which will be a hefty barrier to entry.

      It is Sun's first Java release to include standardized, cross-platform audio and video playback code (in the form of On2 licensed codecs).

      So, it will include Audio/Video support, and it is using codecs from On2 [on2.com]. I don't think that this means the codecs are free in any sense of the term, just that Sun is paying the cost of licensing these codecs fo

    • Re:Existing plugin (Score:5, Informative)

      by AKAImBatman (238306) * <(akaimbatman) (at) (gmail.com)> on Thursday December 04 2008, @06:15PM (#25996099) Homepage Journal

      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.

    • According to the JavaFX website this is already the way it works:
      "JavaSE 6 update 10 gives developers the ability to create draggable applets which the user can then save on their desktop to use later."
    • These things are targeted at developer a lot more than they are at end user. So the difference? You can use your java background and existing java code (to some extent). More or less the same use case as Silverlight (except silverlight is a subset-like version of the already relatively used WPF framework...not sure if JavaFX has its root in something thats already adopted)