Sun picks GPL for Java code

Topics

sun, open source, java, gpl

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

On Monday, it put the code for the programming software under version 2 of the General Public License (GPLv2), 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 GPLv2, 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 licence, 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 licence. 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 licence 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 licence 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 licence."

In addition, Java creator Sun will continue to offer a commercial licence, a "dual-licence" 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 this year, 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 GPLv3.

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 licence.

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) licence alignment," Green said. "This is the last gate to ensure that Java will be distributed worldwide."

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Before accusing me of fudging the figures, that was the percentage in April, the latest available. It seems that as the advantage of the ...

1 hour ago by GregoryB1 on NBN FUD: will Abbott ever learn?

Currently about 50% of connections are at the 100Mb/s rate.
As a consequence, ARPU is significantly higher than the projected figures.

2 hours ago by GregoryB1 on NBN FUD: will Abbott ever learn?

Currently about 50% of connections are at the 100Mb/s rate.
As a consequence, ARPU is significantly higher than the projected figures.

2 hours ago by GregoryB1 on NBN FUD: will Abbott ever learn?

Wireless currently carries less than 2% of total internet data traffic. Simply to carry the existing traffic, we would need 50 times the ...

2 hours ago by GregoryB1 on Blowing the digital dividend on wireless NBN

The stupidest part about a wireless solution for the burbs is that it will actually cost more to put an antenna on the roof to get the si...

2 hours ago by GregoryB1 on Blowing the digital dividend on wireless NBN

The problem is not range of the cell in the urban areas where Turnbull wants LTE instead of fibre, it is the number of users. In urban ar...

2 hours ago by GregoryB1 on Blowing the digital dividend on wireless NBN

After the Second World War, the pursuit of pleasure domains the entire world atmosphere, Lancel (Lancel) to adapt rapidly into the demand...

3 hours ago by PokArrackpask on Spam sees Westnet blocked by BigPond

RT @DellEnterprise: Dell Secureworks talks with ZDNet about Android's biggest #security flaws - http://t.co/LSFLQVFq #infosec

NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available on the National Broadband ... http://t.co/sjtFSU3g

"Customers are picking the top fibre plan that is available on the National Broadband Network (NBN), more than a... http://t.co/M3P24Htn

Another thing I found so misleading here is the step on how you assume to make the USB bootable . (The NTLDR needs to be renamed to USBNT...

5 hours ago by WindowsAnalyzer on Boot Windows XP from a USB flash drive

You can also use the help of these links, just incase your stuff failed, I probably got Windows build by using the Pebuilder as per the i...

5 hours ago by WindowsAnalyzer on Boot Windows XP from a USB flash drive

RT @CorrieB: An iPad for every child: Inevitable or impossible? http://t.co/I7uS8l9s Thx to @timbuckteeth for this; http://t.co/jxkqIRIp

RT @MADinMelbourne: roxon "will enable more families to access credit" @MLolderandwiser: Privacy Act amendments http://t.co/Mv4c7PC2 via @zdnetaustralia

NBN users opt for 100Mbps - ZDNet Australia http://t.co/fLfHMzPn #australia #technews

RT @konradski: Whaddayaknow - turns out Wi-Fi CAN interfere with a plane's navigation systems http://t.co/ospQCU2S

This story has been voted 5 times in the last 24 hours!

8 hours ago, NBN's Tassie upgrade to cost $1.3 million

Sorry no deal Cinders, I'd rather send my money to someone and watch them desperately try to stop the NBN as this has much better enterta...

9 hours ago by Hubert Cumberdale on NBN users opt for 100Mbps

What else can you expect from a Dodo customer?

9 hours ago by Hubert Cumberdale on NBN users opt for 100Mbps

NBN users opt for 100Mbps - Communications - News - ZDNet Australia: NBN users opt for 100Mbps - Communications ... http://t.co/btB9gKWg

NBN users opt for 100Mbps http://t.co/xKqEb4bE via @zdnetaustralia

Biometric bugs too dangerous for public? http://t.co/8JLz5tdF via @zdnetaustralia

Oh please dont be unkind, I gotta have some fan's. btw I agree I dont set the standard, but who does I wonder?

11 hours ago by Doubt on NBN users opt for 100Mbps

You agree but give him thumbs down... I think you'd better take the medication before one of your alter ego's Fred/Frank/Frergers appear...

11 hours ago by Beta on NBN users opt for 100Mbps

Exploring: http://t.co/rT7RPZLA

+1

11 hours ago by Beta on NBN users opt for 100Mbps

War talk dominates #AusCERT 2012 - http://t.co/SlBpMj0c - #security #cyber

So we agree it was a stupid idea and even stupider comment then ;-)

11 hours ago by Beta on NBN users opt for 100Mbps

Not you obviously ;-)

And stop giving yourself thumbs up FFS.

11 hours ago by Beta on NBN users opt for 100Mbps

Ok Beta, understand now, just one point who sets the standard?

11 hours ago by Doubt on NBN users opt for 100Mbps

Oh no Beta you misunderstand me. I like my waterfront home and deep water jetty, it's those "other" people who can move to Willunga.

11 hours ago by Doubt on NBN users opt for 100Mbps

I agree with you Magnus, but really most people like living on the coastal fringe.

11 hours ago by Doubt on NBN users opt for 100Mbps

Travel Tech Q&A: Skyscanner's Ewan Gray http://t.co/vYexrDwu #ipad

Exploring: http://t.co/YNVjdrct

Exploring: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia ... http://t.co/bNLCyobv #ICTChallenge

Exploring: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia ... http://t.co/HEPuJgyt #ICTChallenge

#NewSouthWales ditches registration stickers 4 light #vehicles in favour of #technology http://t.co/xX5N0Rp9

Another use is city based top surgeons using 8K resolution monitors to provide real-time assistance to country surgeons and doctors to op...

12 hours ago by Magnus on NBN users opt for 100Mbps

Anonymous hacks Reliance's Internet filtering server - ZDNet (blog) http://t.co/uObU1HBP http://t.co/0UBXxwX4

Which Windows will make for a better tablet? http://t.co/4mAHg850

Listening to @stilgherrian cover AusCERT and cyberwar, http://t.co/6lGUEz8H

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/VN5tGJzC

#Westpac Board goes paperless with #Ipads with #Tabula #App http://t.co/duxuj2fd #Cybersecurity #Bank

Microsoft is serious about open source??? http://t.co/mqQGgta7

@joedamato just try varying caps randomly. Maybe they do this http://t.co/1FN5FwYv

NSW outlines datacentre migration plans - Hardware - News - ZDNet Australia http://t.co/OQfUl0D1

"on the new fast Internets everyone wants the fast plan" #orly #nareally #yarly http://t.co/kvfCa84A

Chrome overtakes IE: does it matter? http://t.co/e4SILk8a

A ZDNet study showed that British Facebook users are drunk in 76 percent of their photos.

The HDMI cable ripoff and why retail is really dying http://t.co/eFT7zEW7

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/IUysbyKf

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/V7vL5QB9

ZDNet reports Microsoft launches its own social service http://t.co/VJS5BkwF

by http://t.co/vmlLt4bh: Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia P... http://t.co/4bfDRXo4

Travel Tech Q and A: Skyscanner's Ewan Gray http://t.co/CtNlVWN7

Travel Tech Q and A: Skyscanner's Ewan Gray: Ewan Gray, Skyscanner's director for Asia Pacific, shares some of h... http://t.co/ZxjpmqiM

This story has been voted 12000 times in the last 24 hours!

2 days ago, Is Bill Gates a great leader?

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar