Java released under the GPL

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

In a development that could shake up the software industry, Sun is releasing the Java programming language under the General Public License (GPL).

Both Java Platform Micro Edition (Java ME), which is used on mobile devices, and Java Platform Standard Edition (Java SE) software, used for desktop applications, are being released immediately under GPLv2. The Java class libraries will be released over the next six months.

Rumours that Sun was poised to make Java open source emerged last week, but there may still be surprise over its choice of licence. Simon Phipps, Sun's chief open source officer, told ZDNet UK that a final decision was only made a fortnight ago. Sun's own Community Development and Distribution License (CDDL) was another option.

It's interesting that Novell suggests Mono is encumbered by patent problems just a week before we free Java. The timing couldn't be better.

Simon Phipps, Sun

Sun's server-side Java Platform Enterprise Edition software is already open sourced under the CDDL, through the GlassFish project. This enterprise edition will now also be available under GPLv2.

Phipps believes that the GPL is the best choice of licence, and should boost the take-up of Java around the world.

"The objective is to grow the Java market," explained Phipps. "In countries such as Brazil and Chile there is a requirement to use only free software in government, so it's not been possible to use Java in these deployments."

Sun is also hoping that Linux distributions such as Debian and Fedora will now include Java. At present they don't, because it has not been freely available.

Sun has chosen to use the so-called "classpath exception", a licence addition that allows the company to place limits on the software that the GPL covers.

Rich Green, Sun's executive vice president of software, told CNET News.com, that this means 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 proprietary licence, a "dual-licence" structure that gives other software vendors legal indemnification and official standards certification. Phipps explained that Sun has spent many months going through every line of Java code, checking that it owned the intellectual property for each one. When it didn't, it has attempted to negotiate with the relevant rights holder. In some cases, agreement couldn't be reached so Sun pulled in alternative code from other sources. This included some of the projects that have sprung up to create open-source versions of Java. Phipps revealed that some technology companies had refused to reach an agreement, but declined to name them.

Sun has been under pressure to make Java open source for several years. In 2004, free software advocate Richard Stallman claimed that software developers should beware of Java because it was not offered under a free licence.

"If your program is free software, it is basically ethical — but there is a trap you must be on guard for. Your program, though in itself free, may be restricted by non-free software that it depends on. Since the problem is most prominent today for Java programs, we call it the Java Trap," wrote Stallman. He recommended only using a free Java development environment.

Sun's move comes just weeks after Linux vendor Novell signed a controversial patent protection deal with Microsoft. Under this deal, Microsoft has promised not to sue Novell over any alleged patent infringements in Linux.

Phipps claims that this deal indicates Novell is concerned that its Mono project — an open-source implementation of Microsoft's .Net platform — may infringe some patents.

"It's interesting that Novell suggests Mono is encumbered by patent problems just a week before we free Java," said Phipps. "The timing couldn't be better."

Sun will announce further details of its plans on Monday, with a live webcast scheduled for 5.30pm GMT.

Talkback

It's interesting that Samba programmers have just <A HREF="http://community.zdnet.co.uk/blog/0,1000000567,10004518o-2000331777b,00.htm">attacked Novell</A> over its deal with Microsoft. Is this the start of the backlash?

Graeme Wearden 13 November, 2006 11:22
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Paul Fezziwig

Keep the crap apps out?! How will they compete with Android and Apple's claim to fame of having so many life changing apps? I wonder if the media...

50 minutes ago by Paul Fezziwig via Facebook on RIM: BlackBerry will keep 'garbage' apps out of store
Aigars Mahinovs

It has been shown time after time that if there is an author store that sells the songs at even 1$ per song and gives you a high-quality digital...

2 hours ago by Aigars Mahinovs via Facebook on Copyright isn't working, says European Commission
EvaBrian

This is a great start to leverage virtualization and standardized deployments, however even a well-managed virtualization solution has its...

2 hours ago by EvaBrian on AWS CloudFormation automates cloud app deployment
EvaBrian

that's a great news for android users! The cloud is set as the battleground that will decide the fate of Google’s Android and Apple’s iOS as...

3 hours ago by EvaBrian on Google's 'Bouncer' scans Android apps for malware
EvaBrian

Google knows that the only way that Android is going to survive is by a superiority of numbers. By doing that, it is playing a completely different...

4 hours ago by EvaBrian on Apple vs Google: Cloud concepts that clash
awbMaven

""As a result of Butyka's alleged conduct, researchers were unable to use the computers for more than two months while NASA removed the malicious...

4 hours ago by awbMaven on US indicts Romanian over NASA climate change hack
subhorup

It simultaneously worries me and uplifts me that a self-proclaimed group of internet activists name themselves after Indian mythical figures....

12 hours ago by subhorup on Anonymous activists release PCAnywhere source code
naviathan

It's actually far easier to work anonymously on the internet than you think. With tools like Tor bouncing your traffic around the world before...

16 hours ago by naviathan on Anonymous activists release PCAnywhere source code
Agnostic_OS

1000272134 and bluedalmatian with you both there but then I'm still in 10.04 land (and happy with it)

16 hours ago by Agnostic_OS on Ten factors that make Ubuntu 11.10 a hit
apexwm

Interesting article and definitely see your points on the products mentioned. One of the top products for our Help Desk (approximately 20% of all...

23 hours ago by apexwm on Ten flawed products that derail productivity
Paul Hutchinson

Absolutely - this should obviously not be handled my isp - but handled by their hosting operator. What's been suggested here is that my isp police...

23 hours ago by Paul Hutchinson via Facebook on MPs urge ISPs to take down terrorist material
Techs UK

Looks like a great phone. I don't notice any deficiencies in WP7. used IOS before, that's pretty good. I don't spend much time in Apps, all i need...

1 day ago by Techs UK on Nokia pins US 're-entry' hopes on Lumia 900
Larry Bloggy

Now with the help of these apps you are always synced with MS outlook while on the move. Just download apps like xobni or outlookreflex and get...

1 day ago by Larry Bloggy via Facebook on Outlook Social Connector beta 2 and the LinkedIn connector
mike40g123

Your details are wrong. The version currently being made is the one with 2 USB ports, 256MB RAM and a network port. This is the Model B. The...

1 day ago by mike40g123 on Raspberry Pi boards set to go on sale
Moley

The thing that has been puzzling me for quite a while is how Anonymous can remain anonymous whilst not only being active on the Internet but also...

2 days ago by Moley on Anonymous activists release PCAnywhere source code
Don Dilly

If what Semantec is saying is rue, that is even worse and shows a complete disregard for thier users. If what Anonymous claims is true and the...

2 days ago by Don Dilly via Facebook on Anonymous activists release PCAnywhere source code
MattChurchy

Didn't seem particularly biased to me either. Oh though you might have mentioned some other competitors with free search and email services...

2 days ago by MattChurchy on Time for an evil umpire: Google, Microsoft & privacy
Simon Bisson and Mary Branscombe

James - exactly as much as anyone paid you for your comment; I don't feel that I need to say that I'm independant and unbiased, but just for you...

2 days ago by Simon Bisson and Mary Branscombe on Time for an evil umpire: Google, Microsoft & privacy
Carl White

Once they realise symantec are willing to pay real money, they will simply keep extorting, unless of course symantec/authorities can use the...

2 days ago by Carl White via Facebook on Symantec offered hackers $50k in source code sting
Jonathan Hassell

You can find more information on BS 8878 by Jonathan Hassell its lead-author at http://www.hassellinclusion.com/bs8878/ The page includes a...

3 days ago by Jonathan Hassell on BSI publishes first British web accessibility standard