InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

The Missing Piece of Desktop Java ... The Consumer JRE

Posted by Scott Delap on May 15, 2007

Sections
Development
Topics
JavaFX Script ,
Java One ,
Java SE ,
JavaFX ,
Rich Internet Apps ,
Java ,
Languages ,
Programming ,
Rich Client / Desktop
This year's JavaOne had a heavy desktop focus with the announcement of JavaFX Script. At present JavaFX Script makes use of Swing and Java2D. As a result a full JRE installation is required for deployment. Missing from the keynote announcement at JavaOne was discussion on improving the deployment path of desktop Java applications whether they are written in JavaFX Script or more traditional Swing.

This lack of a deployment solution has caused many to question JavaFX Script:

..The question becomes is this too little too late? ... Even today with Swing being available to help create nicer looking UIs, the JRE plugin nightmare remains. I can vouch for this as I just finished an Applet project that took 4 months to get through QA because of all of the issues related to the JRE installation process on different platforms and browsers...

Hope may finally come later this year in the form a consumer targeted JRE. Ethan Nicholas was hired by Sun last year to work on a "Java Kernel" with a smaller download footprint. Such work was essentially confirmed in an recent interview by Sun CTO Robert Brewin the week of JavaOne:

...If you look at what we are trying to do with JavaFX mobile, we have got to fix the JRE issues related to size of download, size of installation, time to cold start, etc. All these things are related to having a large piece of software with a whole bunch of things in there you probably don't need. The current plan is that we are going to start seeing some of these features appear in Java 6 update 2, and more in update 3, and beyond.

Nicholas presented a session at JavaOne detailing his work at JavaOne.  He is targeting a 2-4MB JRE download.  Sun is also targeting a "patch in place" strategy, meaning that updates to the consumer JRE will be applied in the same JRE directory rather than creating multiple JREs on the system.

Discussions on this concept can be found on a TSS thread started before details where confirmed in Nicholas' presentation . Such download sizes would place Java in the same arena as Apollo which is shooting for 5-9 megs and Microsoft Silverlight which is at ~4MB. Download is only a portion of the battle however. It remains to be seen if the changes to Java will also include a better browser based installation experience as well as any effort to limit Java to having one up to date version on a machine.

  • This article is part of a featured topic series on Java
RE: The Missing Piece of Desktop Java ... The Consumer JRE by zqu dlyba Posted
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Robbie Vanbrabant Posted
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Michael Neale Posted
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Geoffrey Wiseman Posted
  1. Back to top

    RE: The Missing Piece of Desktop Java ... The Consumer JRE

    by zqu dlyba

    The JRE is already there. It's called vbrun60.dll ;-)

  2. Back to top

    Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE

    by Robbie Vanbrabant

    My notes for the sessions available online and the Java Posse 120 podcast:


    - Java 6 update 2 (Q4 2007 - Q1 2008)
    - 2 to 4 MB in size, lazy (down)loading for the rest
    - Faster cold start
    - Will borrow from Java kernel project (SE 7 project)
    - deployment toolkit
    - javascript
    - native hooks

    See my blog for more JavaFX coverage.

    Cheers
    Robbie

  3. Back to top

    Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE

    by Michael Neale

    Yes I hope it all comes true, otherwise its teasing !

    Sounds really good. Probably 10 years late, but better late then never.

  4. Back to top

    Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE

    by Geoffrey Wiseman

    Those are all good points, Robbie.