• On MovieTome: See the TRAILER for TERMINATOR 4!

November 12, 2006 9:00 PM PST

Sun picks GPL license for Java code

  • Print
After years of requests and debates, Sun Microsystems is ready to release Java source code under a Linux-friendly license.

On Monday, it plans to put the code for the programming software under the version 2 of the General Public License (GPL 2), which governs Linux and many other open-source products. The Sun-hosted Java.net Web site will provide access to Java Platform Micro Edition (Java ME) software for mobile phones and Java Platform Standard Edition (Java SE) software for desktop applications.

Sun already has open-sourced its server-side Java Platform Enterprise Edition software in a project called GlassFish. But it is now making that same software available under the GPL 2, rather than the Sun-conceived Community Development and Distribution License (CDDL).

The move will promote Java and make it easier to bundle with Linux, said Rich Green, Sun's executive vice president of software.

"This is a milestone for the whole industry," Green said. "Not only are we making an influential and widely used software platform for the Web available under an open-source license, it also underscores Sun's commitment to changing the whole industry model for how software is enhanced and developed."

The nature of the GPL is that additions to software available under the GPL must also use the license. So a developer who writes an application using the open-source Java software could be obliged by the GPL to also release that newly created application as open source.

However, Sun is employing the so-called "classpath exception," a license addition that allows the company to place limits on the software that the GPL covers, Green said.

The effect is that programmers who create applications using Sun's open-source versions of Java can use choose a different license for their applications, he said.

"In the case of Java SE (Java Standard Edition), we're enhancing (the GPL) with the classpath exception," Green said. "So when you're working on top or shipping applications with the (Java) libraries and virtual machine, you're not affected by the Java license."

In addition, Java creator Sun will continue to offer a commercial license, a "dual-license" structure that gives other software vendors legal indemnification and official standards certification.

Long road to the GPL
The move is the culmination of years of debates within Sun and sometimes loud calls from outsiders to open-source the Java programming language and associated software.

In the past, Sun has resisted calls to open-source Java, citing fears that it would cause incompatibilities among "forked" versions of the code. ("Forks" come when groups have different ideas about how code should progress and take it from a single point along divergent paths.)

Green said that the choice of the GPL and the clout of the existing Java product market makes incompatibilities less likely.

"GPL version 2 is the proper forcing function," he said. "By keeping all the industry innovations viewed and shareable, it pushes everyone toward compatibility."

In May, Sun said that it will deliver the Java code by the end of this year or by early next year.

Sun has intentionally not set up formal open-source projects around the Java Platform Micro Edition (Java ME) and Java Platform Standard Edition (Java SE) software and has not yet established a "governance" structure.

"It's an evolving process...We will be very active in these communities but we don't want to prescribe the outcome," Green said.

The community around Java ME is called Mobile and Embedded, while the community around Java SE is called Open JDK.

People who are using Sun's server software from the Glassfish project under the CDDL can continue with that version.

The GPL itself is now going through the review process for GPL version 3, which has attracted criticism from the developers of Linux kernel, among others.

Green said that Sun has not committed to using the GPL version 3 in the future. He added that people at Sun are part of the negotiations over GPL 3.

Sun may consider using the GPL for its other open-source products, such as OpenSolaris. "I'm completely signed up to reevaluate our whole licensing protocol," Green said.

Even as Sun finally comes through on its promise to open source Java, other open-source Java projects continue to operate.

In May 2005, the Apache Foundation started work on a project called Harmony to create an open-source version of Java SE under the Apache open-source license.

That project is being developed but is still in the "incubator" phase, which means that it's not fully endorsed by Apache.

Green said that open sourcing Java under the GPL will appeal to developers, particularly those familiar with Linux and its legal underpinnings.

Gaining developer followers is one of Sun's top priorities as it seeks to revive its software business.

"People have been hesitant to distribute Java worldwide with Linux (distributions) because of (concerns over) license alignment," Green said. "This is the last gate to ensure that Java will be distributed worldwide."

See more CNET content tagged:
GPL, Java Platform, Java, Sun Microsystems Inc., GPL 2

advertisement

Latest tech news headlines

Resource center from CNET News 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

RSS Feeds

Add headlines from CNET News to your homepage or feedreader.

More feeds available in our RSS feed index.

Markets

Market news, charts, SEC filings, and more

Related quotes

Sun Microsystems (14.84%) 0.42 3.25
Dow Jones Industrials (3.31%) 270.00 8,419.09
S&P 500 (3.99%) 32.60 848.81
NASDAQ (3.70%) 51.73 1,449.80
CNET TECH (3.64%) 36.93 1,051.13
  Symbol Lookup
advertisement

Inside CNET News

Scroll Left Scroll Right
  • Business Tech

    IPOs a thing of the past?

    At AlwaysOn Venture Summit West conference, investment bankers, venture capitalists, and private equity players weigh in on the prognosis for the IPO market.

  • Gallery

    Photos: Space station marks a decade aloft

    The first pieces of the International Space Station went into orbit 10 years ago. Now a full-fledged lab facility, it continues to grow.

  • Security

    Apple deletes Mac antivirus suggestion

    Apple removes statement to customers urging them to use antivirus software, saying that Macs are safe "out of the box."

  • Beyond Binary

    Microsoft-HP cashback saga continues

    Earlier this week a Microsoft representative indicated that a deal offering 40 percent cash back at HP.com would be restarted following Black Friday glitches. Now that appears less certain.

  • Video

    A toast to online wine A toast to online wine
  • Digital Media

    Conde Nast to shutter teen site Flip.com

    The teenage girl social-networking site plans to shut down on December 16, according to an e-mail sent to users.

  • Video

    Wi-Fi while you fly Wi-Fi while you fly
  • Gaming and Culture

    From Cy Young to video game fame

    Tim Lincecum, one of the best pitchers in baseball, was chosen to be the cover athlete for 2K Sports' next baseball game. On Tuesday, he did a motion-capture session for the game.

  • Green Tech

    Ta ta, Tesla

    Are the Valley-based VCs and big-wigs who back Tesla Motors really serious about asking the federal government for low-interest loans?

  • Gallery

    Photos: Top-rated reviews of the week

    Here are a few of CNET Reviews' favorite items from the past week, including Adobe suites, laptop bags, and a Panasonic flat panel TV.

  • Crave

    HTC focuses on phone design; acquires One & Company Design, Inc.

    Looking to concentrate on design, smartphone manufacturer HTC acquires San Francisco-based design firm, One & Company Design, to help create its future devices.

  • Green Tech

    Ford accelerates electric-vehicle plans

    In its turnaround plan presented to Congress, Ford says it will invest billions in fuel efficiency and introduce a family of hybrid-electric and all-electric cars.