Progress Towards "Java Browser Edition"

| by Scott Delap Follow 0 Followers on Sep 07, 2006. Estimated reading time: 1 minute |
Earlier this year Ethan Nicholas (of Yahoo at the time) proposed that Java needed a "Browser Edition" to compete with industry leading technologies such as Flash.

The "browser edition" that I suggested would enable you to install exactly the subset of Java that your particular program required, but would be able to download all of the other functionality on demand (and thus be fully compatible with J2SE).

As a result of the blog entry Ethan ended up taking a position at Sun in order to better influence a solution to the problem. Ethan is back with a blog entry updating his progress on slimming down the install footprint of Java.

First of all the feature is a proposal for Java 7 going under the name "Java Kernel". Ethan will be on the team responsible for implementing it. He cautions however that the idea has been attempted at least twice at Sun but both times a satisfactory size reduction was not gained. This isn't stopping anyone from trying again however. Initial investigations reveal the following comparison between a full Java 6 JRE, one with simply enough classes to print "Hello World", and one with enough classes to display an empty awt frame:

Java 6 Runtime Environment: 15.5MB
"Hello World" JRE: 2.6MB
java.awt.Frame JRE: 3.5MB

It is important to note that these numbers are not from production useful JRE's. Such findings are a step in the right direction however. A larger question still remains ... Is Java a viable competitor to Flash, Ajax, and other browser enabling technologies if download size isn't an issue?.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Java on Flash? by Peter Cooper

Excuse this potentially ultra-stupid idea (I'm not a Java guy), but wouldn't a JRE on/in Flash be interesting? I'm imagining it would be nearly impossible to orchestrate, of course.

Re: Java on Flash? by Simon Horne

Not a stupid idea but I think you may be getting the runtime and the virtual machine confused. The Flash runtime (the part you find interesting?) runs on the Flash VM in the browser. The JRE runs on the Java VM (also in the browser). You could conceivably run the JRE and Flash on some kind of combined VM but you would lose the interesting parts of Flash (vector graphics, animation etc.) as they are not necessarily part of the VM itself.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you