InfoQ

News

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

Posted by Scott Delap on May 15, 2007

Community
Java
Topics
Rich Client / Desktop
Tags
Java One ,
Java SE ,
JavaFX Script
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.

RE: The Missing Piece of Desktop Java ... The Consumer JRE by zqu dlyba Posted May 15, 2007 2:04 PM
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Robbie Vanbrabant Posted May 15, 2007 4:04 PM
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Michael Neale Posted May 15, 2007 6:09 PM
Re: RE: The Missing Piece of Desktop Java ... The Consumer JRE by Geoffrey Wiseman Posted May 16, 2007 2:10 AM
  1. The JRE is already there. It's called vbrun60.dll ;-)

  2. 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. Yes I hope it all comes true, otherwise its teasing !

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

  4. Those are all good points, Robbie.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.