May 9, 2007 8:56 AM PDT

Open-source Java--except for the exceptions

SAN FRANCISCO--Sun Microsystems' Java is now officially an open-source project--mostly.

The Santa Clara, Calif.-based server and software company officially released the software at its OpenJDK Web site on Tuesday, at the beginning of the JavaOne conference here.

The move fulfills a promise made earlier to move the widely used software into the open-source realm, where anybody can see, modify and redistribute the Java software. Sun resisted making Java open-source software for years, worried that someone would "fork" the project into an incompatible version, but the company softened its stance.

"We are now, as regards the open-sourcing of Java, done," Rich Green, Sun's executive vice president of software, said in the conference's opening speech.

Well, mostly done. There are some notable exceptions to the open-source nature of Java.

"Only one last obstacle remains in liberating JDK and disarming the Java trap completely: some nonfree, legally encumbered code."
--Richard Stallman, president, Free Software Foundation

For one thing, Sun was unable to convince some unnamed third parties who had supplied technology to Java that they should release their components as open-source software, Simon Phipps, Sun's chief open-source officer, said at a panel discussion Tuesday.

Those components deal with rendering graphics and fonts on a screen and with choosing colors. They also involve some elements of sound and cryptography, said Tom Marble, Sun's OpenJDK ambassador. "We have already contacted the copyright holders. We were unable to negotiate release under an open-source license," Marble said.

To sidestep the issue, Sun for now includes the proprietary software as prebuilt "binary" modules that programmers can attach to the versions of Java built from source code.

Phipps wanted to name the third-party companies but was "voted down," he said: "I was an advocate of name and shame." Instead, Phipps had to satisfy himself with an exhortation by Richard Stallman, the visionary who launched the Free Software Foundation and wrote the initial General Public License (GPL) that now governs open-source Java.

Click here to Play

Video: Gosling at JavaOne: JavaFX
Making things easy with Sun's JavaFX

"Only one last obstacle remains in liberating JDK and disarming the Java trap completely: some nonfree, legally encumbered code," Stallman said in a statement. "The free-software community and Sun must work together to replace that code with free software."

Java is a software technology that enables programs written in the Java programming language to run on a variety of devices without having to be tailored for each one. It accomplishes this through use of a "virtual machine," which translates Java instructions into instructions in the native tongue of a computing system--for example, Mac OS X, Linux or Windows PCs. Various versions of Java exist for desktop computers, mobile phones, Blu-ray Disc drives, servers and other computing systems.

Sun's worries about compatibility led it to keep a tight grip on another Java component: the test kit used to certify that a version of Java behaves as Java should.

Sun said on Tuesday that people building Java from the OpenJDK source code may use the official compatibility kit. Thus far, it said nothing about other organizations, such as the Apache Harmony project that's building its own open-source version of Java under a different license.

Harmony organizers have called on Sun to liberalize the compatibility kit terms.

In an interview, Green said Sun hopes to make the compatibility test kit somewhat more broadly available, for example, for free use to nonprofit groups. Details are yet to be worked out, he said.

Making Java open-source means, among other things, that it will be easier for Linux sellers to include the software in their products. Sun also hopes that it will increase programmer attention and make it a stronger challenger to rival technologies such as Adobe Systems' Flash.

Sun chose the GPL to govern Java because it best preserves compatibility, Green said.

"Compatibility is critically important, and the GPL...forces all the work to be done in the open and thus maximizes the chance that compatibility will be maintained," Green said.

See more CNET content tagged:
Java, Sun Microsystems Inc., Richard Stallman, JDK, JavaOne

Powered by Jive Software
advertisement

Latest tech news headlines

Resource center from News.com sponsors
Aligning CIO & CEO visions
What CIOs need to know

Click Here!
It's a simple truth. The closer you and your CEO see things, the greater your chance for success. Our exclusive report can help you get there—and help your business grow. Get the report featuring the views of 765 CEOs on innovation. learn more

Click Here!
What CEOs think: Innovation Insights for CIOs

Learn How CIOs can deliver strategic success for their enterprises

The New CIO: Beyond Technology

Learn how CIOs become heroes

Podcast: Chris Gorog of Napster

Learn about the impact of technology in strategy execution

The future of the Enterprise

Read more about tomorrow's organization

CIO Vision Series:Innovating within a retail industry disrupted by the Web

Video: CIO of Virgin Entertainment Group, Robert Fort

CIO Vision Series: Innovating around social search

Video: Yahoo CIO Lars Rabbe

RSS Feeds

Add headlines from CNET News to your homepage or feedreader.

More feeds available in our RSS feed index.

advertisement

Inside CNET News

Scroll Left Scroll Right
  • News - Business Tech

    Chrome's JavaScript challenge to Silverlight

    The advent of Google's Chrome browser, software pros say, should spur a big speedup for JavaScript, which would raise its standing against Microsoft's Silverlight technology.

  • Gallery

    Photos: Top 10 reviews of the week

    Here are CNET Reviews' 10 favorite items from the past week, including the TiVo HD XL, Sony Cyber-shot DSC-H50, and the Dish Network's newest digital TV converter box.

  • News - Apple

    Apple watchers spot 'iPod Nano' pix, iTunes hints

    The rumor mill has long been predicting a longer, leaner new version of the iPod Nano, and now it's conjuring up some pictures.

  • Coop's Corner

    Chris Shipley 1, Internet lynch mob 0

    Demo's impresario goes public with a tart and smartly written riposte to the shoot-from-the-lip crowd.

  • Video

    Katie Couric reflects on first Webcast

    The political conventions are over and so are CBS Evening News anchor Katie Couric's first series of Webcasts. CNET's Kara Tsuboi sat down with Couric on the final night of the Republican National Convention to discuss what she liked about Webcasting, some of her most memorable guests, and whether TV news will still be around by the next round of conventions.

  • News - Digital Media

    Creating a 'Facebook for spies'

    The CIA, FBI, and National Security Agency are reportedly testing a social-networking site designed for use by analysts within the 16 U.S. intelligence agencies.

  • Video

    YouTube plays party politics

    During the presidential campaigning four years ago, YouTube didn't even exist. Now it's a tool candidates must master to get their message across. CNET's Kara Tsuboi stops by the YouTube upload booths at the Democratic and Republican conventions to find out why Google's video site has such a big presence in Denver and St. Paul, Minn.

  • News - Gaming and Culture

    Are Demo and TechCrunch50 fragmenting their audiences?

    With both events scheduled to start Monday, many press, as well as venture capitalists and others are having to choose which one to attend.

  • News - Cutting Edge

    Execs predict next Google-like tech

    On eve of company's 10-year anniversary, researchers and business pundits speculate about what technologies might someday have as much impact as Google.

  • Gallery

    Images: The art of 'Spore' prototypes

    Will Wright and his Maxis team worked on dozens of prototypes to test the elements of their soon-to-be-released evolution game. Here's a sampling.

  • Crossfade

    The Standard, 'A Different Skin': Free MP3 of the Day

    Eschewing the danceable beats favored by many of its post-punk brethren, while opting instead for more ominous and insistent rhythms, is what makes the Standard visceral and engaging. Download a free MP3 of "A Different Skin" courtesy of CNET Download Mus

  • Green Tech

    Duke Energy to invest in mini solar power plants

    Can hundreds of rooftop solar panels collectively operate like a central power plant? Duke Energy launches $100 million distributed solar program to find out.