Java Kernel plan proceeds

Technology providing a subset of the Java runtime and allowing you to download further pieces as needed is likely to appear next year

Sun continues to work on the Java Kernel, the idea of which is to provide a subset of the Java Runtime Environment tuned to particular programs.

Formerly known as Java Browser Edition, the Java Kernel is planned for release as part of Java Standard Edition (SE) 6 update 4, probably in early-2008, a Sun representative said on Friday. Developers will have early access to the code to provide feedback.

An original intent was to make Java like a Flash plug-in and enable a resurgence of Java on the browser. Applications would specify which features they need, such as Swing and XML parsing, said Sun staff engineer Ethan Nicholas, who is working on the project.

"The basic idea was that the current Java Runtime Environment is simply too big, and most programs require only a small subset of the functionality," Nicholas wrote in September 2006 on his blog. "The 'browser edition' that I suggested would enable you to install exactly the subset of Java that your particular program required, but you would be able to download all of the other functionality on demand (and thus be fully compatible with J2SE)."

Some Sun employees doubted the project would fly, according to Nicholas. Even a detailed analysis of the idea painted a bleak picture, he said.

"The feature did in fact get submitted as a proposal for Java 7 under the name "Java Kernel" (the idea being that you download a small "kernel" of Java functionality, which is in turn capable of downloading the rest of it)," Nicholas said.

Nicholas said he developed a stripped-down JRE installed containing only enough functionality to run "System.out.println," or "Hello World."

To determine which files were necessary for the project, Nicholas wrote a program to iterate through the JRE files.

"After going through all of the files in this fashion, I was left with an extremely minimal JRE that could run Hello World and ... well, that's about it. But it at least provided a starting point. Building a working installer from this JRE was itself a challenge because several of the files that weren't necessary to run Hello World were still necessary to successfully install the JRE, but I persevered and now have a fully functioning, minimal JRE," Nicholas said.

Comments about the project posted on Nicholas's blog varied.

"I also believe modularization of the JRE is the solution. Not just for the size of the download, but also for different other issues," one commenter said in 2006.

"The problem here is that Java isn't just a browser based technology, it's a platform. When I write a Java applet or application, I expect the platform to be there," said another respondent.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?