• On GameSpot: Handheld Xbox coming...eventually.
November 14, 2007 10:44 AM PST

Sun's worried that Google Android could fracture Java

by Stephen Shankland

Update: I added comment from Google.

Painful flashbacks are beginning to torment those of us who lived through the Java wars between Sun Microsystems and Microsoft that began 10 years ago.

Earlier this week, Google released programming tools for its Android mobile-phone software project that shun the existing Java standard-setting process in favor of a Google-specific variety. Sun responded on Wednesday by expressing concern that Google's Android project could fragment Java into incompatible versions.

Android SDK

"Anything that creates a more diverse or fractured platform is not in (developers') best interests," said Rich Green, executive vice president of Sun's software work, speaking to reporters at the Oracle OpenWorld conference in San Francisco. "The feedback from developers is, 'Help us fix this.'"

He said Sun wants to work with Google to nip any problems in the bud. "We're really interested in working with Google to make sure developers don't end up with a fractured environment. We're reaching out to Google and assuming they'll be reaching out to us to ensure these platforms and APIs will be compatible so deployment on a wide variety of platforms will be possible," Green said.

Google unrepentant
Google didn't adopt a terribly conciliatory tone in its response, arguing that when it comes to Java fragmentation, Android is the solution, not the problem.

"Google and the other members of the Open Handset Alliance are working to help solve fragmentation and supporting the developer community by creating Android, a mobile platform that responds to the needs of the developers, has the backing of industry leaders, and will be available as open source under a nonrestrictive license," Google said in a statement.

And asked whether it would discuss the issue with Sun, Google said, "We're talking with industry leaders around the world about Android and the Open Handset Alliance but we're not commenting on any of those discussions."

On Monday, Google indicated that it expects fellow members of the Open Handset Alliance phones who are working on the Android phones to help keep its variation of Java familiar to programmers.

Java today is governed by the Java Community Process, in which a number of companies vote on which features to accept into the Java system and create standard mechanisms called application programming interfaces (APIs) by which Java software can use those features. The extent to which Android will or must conform to these APIs is not clear.

For those who need a refresher on the Microsoft history here, the software company licensed Java back in the 1990s, way before it became open-source software. However, Microsoft added some features to Java that meant that it could work differently on Windows machines, a move Sun saw as undermining the "write once, run anywhere" promise of the technology.

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Recent posts from Underexposed
Nikon app teaches photography on the fly
Smile! Flickr has an official iPhone app
Corel Digital Studio 2010 opens up to consumers
Adobe tests raw support for Olympus E-P1, new Nikons
Adobe's next Lightroom to forsake PowerPC Macs
How Flickr needs to change
Adobe kills low-end Photoshop, urges users online
Toshiba plans 64GB SDXC memory cards for 2010
Add a Comment (Log in or register) (7 Comments)
  • prev
  • 1
  • next
Just buy it
by maeckg November 14, 2007 11:54 AM PST
Google guys might be better off just buying Sun and its Java properties, then integrate it into their plans. It is better not to fork up the code.
Reply to this comment
Sun just needs to give a TCK license to Apache Harmony
by JoeF2 November 14, 2007 1:32 PM PST
Since Google is using the free Java implementation Apache Harmony, all what Sun needs to do to ensure that Harmony is a full Java implementation is to provide a non-restrictive TCK license to them.
According to http://en.wikipedia.org/wiki/Apache_Harmony, Sun hasn't been willing to do so at this point.
Reply to this comment
same thing ...
by JunkSiu November 14, 2007 1:58 PM PST
It takes forever for JBoss to get certify.
Why?
by msimoens November 14, 2007 2:48 PM PST
Why does there have to be several different Java implementations?
Why does there have to be a million different linux flavors? Why are
there so many programming languages? Why can't people just work
together to make something superior? I don't think Google should
make their own Java or buy Sun. Why not just work in harmony to
create an experience that we all should have? Make something that
just works and is "pretty".
Reply to this comment
JCK doesn't guarantee compatibility
by ds2719 November 14, 2007 2:50 PM PST
Only that they pass the same tests. Google could extend Harmoney and not give back the changes (allowed under Apache) and then there are incompatible versions. Why can't Google just use the OpenJDK? Then they don't have to do any JDK work.
Reply to this comment
Google is fixing the fragmentation problem
by cbazza November 14, 2007 7:00 PM PST
Google is fixing the fragmentation problem and it is also providing a great runtime of what Mobile Java should have been from the beginning. Android is not a different version of Java; it is something new called Android that uses the Java language for programming. The libraries are totally different and it makes no difference as long as it can allow developers to create amazing apps (and it will, just look at the API and see the native libs to realize the thin layer there between the Java libraries and native code).

It's funny to see Sun complaining now about different versions of Java because I don't remember any comments out of Sun when RIM did the exact same thing with the Blackberry Java APIs, Danger did the same thing with the Hiptop/Sidekick Java APIs, Nokia did the same with their extra Java APIs, etc, etc, I hope you can see the pattern here, too late to say "sorry no more extensions".

The kick in the teeth to Sun is that Android provides a better mobile version of full Java than Sun's own JavaFX Mobile (which Sun acquired from the corpses of Savaje). I've been with Java from the beginning and I do major Java ME work but I say to Google "fantastic work !!! please continue full steam ahead, we developers can now create great mobile Java apps with iPhone-like quality. Thank you". JCP has failed to innovate, I hope Android becomes the "de facto" Mobile Java standard driven by Google.
Reply to this comment
Sun Fragmented Java for Mobile
by technut007 November 15, 2007 1:21 AM PST
Rich's quote is a joke. Sun fragmented Java --- and under
Rich's earlier leadership completely broke the write once run
anywhere vision by splitting off three separate code bases with
ME, SE and EE. Google and the Open Handset Alliance will help
bring it back together .. and I am sure it will be without Sun's
help. Besides, they are struggling with their own me too JavaFX
.. I mean SavaJe .. I mean 3 guys in a closet coding demoware
for JavaOne 2008. Why do they want to help any other mobile
handset provider out? They already got their money. Now, in
typical Sun fashion, they are going to compete with their
customers. And back to the "help fix this" line ... it is actually
what developers are asking of the community, not of Sun since
we all know that the new Software leadership team has a poor
history of delivering products on time and to spec.
Reply to this comment
(7 Comments)
  • prev
  • 1
  • next
advertisement

After 5 years, Firefox faces new challenges

Mozilla helped reshape the Web since releasing Firefox 1.0 five years ago. Now it's got a reawakened Microsoft and Google Chrome to reckon with.

There's a map for that: GPS or smartphone?

Almost every handset comes with mapping software these days, but standalone GPS devices are becoming more affordable than ever.

About Underexposed

This blog sheds light on digital photography subjects such as cameras, photo editing, and Web sites. Shankland joined CNET News in 1998 after a five-year stint as a science writer. He's a lab rat who grew up in Los Alamos, N.M., and graduated from Harvard.

Contact Stephen at Stephen.Shankland@cnet.com

Add this feed to your online news reader

Underexposed topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right