Java now Free Software (GPL)
On Monday (November 13th, 2006), Sun announce that it is releasing Java under the terms of the GPL2 license.
This is a few days old now, but I wanted to take the time to look at it and think about the implications. Being a programmer, this is significant news for me. I’ve concluded, however, that the effects may be too far-reaching to predict.
This post will concentrate more on the positive. The next post will talk about some of the finer details of the licensing, and exactly what is being released and when. I would recommend reading that one too, to get a balanced reaction. This post, then, reflects my hopes of what all this means.
Java and GNU/Linux
Distribution
The obvious effect is that it will be possible to include Java in GNU/Linux distributions.
This is a frustrating gap that has existed for many years now. There have been a number of projects try to fill it, but with limited success. Most are worthy of acknowledgement for their achievements, but have fallen short of providing a full implementation of the Java standard. What will be interesting to see is whether their achievements are significant enough to make it into the Sun Java codebase, as an improvement to the existing product.
Cross-platform
It will be possible for GNU/Linux to participate in the wealth of ‘run anywhere‘ Java software. As I said, some projects tried to provide a Java run-time for GNU/Linux, but they were unable to create a complete implementation. You could never rely on them to run a Java programme without problems. With a full implentation, any Java programmes that do not feature OS-specific code will run quite happily.
Developers
The Java platform now gains a great number of GNU/Linux developers; with their expertise and bug-squashing determination.
These developers may also decide that Java is a poweful language in which to write their configuration tools. It could lead to a more feature-complete GNU HURD OS, if appropriate cross-platform tools are written.
Java and .NET
I think it is reasonably obvious that Sun has made this move in order to compete with .NET.
Microsoft developed .NET in response to Java’s success and ingenuity, but with their marketing power and platform dominance they have seen fast adoption of the technology.
Sun have gained a good market-share with the GPL’d OpenOffice.org, and I think they want to hold on to their Java market-share by using the same tactic.
Also, .NET has been finding its way into the Free Software world by way of Mono. A number of applications, that run on Mono, have found their way onto the GNOME desktop and into GNU/Linux distributions (Tomboy, Beagle). It seems ironic that software using a technology invented by Microsoft could be used with Free Software, but software using technology from the company who own the most successful Free Software office suite could not.
[EDIT: The following paragraph was changed because of an inaccuracy pointed out by Joe Shaw. See the comments below.]
One of the reasons for this was Microsoft’s decision to create an open ECMA standard, with which the core .NET framework would comply. There is now some doubt over the long-term viability of Mono, given Novell’s (the owners of Mono) decision to sign an agreement with Microsoft that excludes their customers from prosecution for software-patent infringement, due to their use of GNU/Linux. If only because it makes Novell less popular in the Free Software community.
I am a C# (.NET) programmer (it pays my wage until I find a career in Free Software). I like the technology. Microsoft have done a good job in designing and implementing it. I’m not going say that isn’t the case, just because it’s Microsoft. But, of course, I want to use and develop Free Software, so my focus was on Mono.
Sun’s move changes that, and especially because of their courage in making that move. I have programmed in Java, briefly, before. I liked Java as well; but for different reasons. Java is more mature, and more flexible. .NET is subject to Microsoft’s hand-holding mentality. That does often make things a lot quicker and simpler to do, but it is also very frustrating; especially for a capable programmer who wants to do something his way, but is subject to Microsoft’s preferences. There is a huge volume of Java knowledge out there, much of which is made available by the Free Software community, and Java gives you the flexibility to use it.
I think what I’m saying is that I’m now much more drawn to Java. I liked it before, but I couldn’t write Java for Free Software operating systems. I can now, and I have a great deal of respect for Sun’s decision - I think they deserve a good response from Free Software programmers. I shall be looking at it closely, and will probably try to use that platform for Free Software that I write.
To be continued…
This post is starting to get quite long. I shall talk about the "Classpath Exception", the current status, and some possible pitfalls in my next blog.
I’ll leave you with a quote from Richard Stallman, a video of which was featured in Sun’s announcement. I realise I’m doing their marketing job for them, but they’ve pulled off quite a coup by getting something like this out of him:
Links:"I think Sun has… well, with this contribution… have contributed more than any other company to the Free Software community… in the form of software. It shows leadership. It’s an example I hope others will follow."
Copyright (c) 2006-2007 Michael J Kaye.
Permission is granted to copy, distribute and/or modify the content of this blog post under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
There is now some doubt over the long-term viability of Mono, given Novell’s (the owners of Mono) decision to sign an agreement with Microsoft that excludes them from prosecution for software-patent infringement.
This is incorrect. Novell’s customers have an agreement from Microsoft not to sue. There’s no protection for Novell itself:
Our agreement with Microsoft is focused on our customers, and does not include a patent license or covenant not to sue from Microsoft to Novell (or, for that matter, from Novell to Microsoft). — from http://www.novell.com/linux/microsoft/faq_opensource.html
Comment by Joe Shaw — November 17, 2006 @ 9:31 pm
I’m sure that many others, like me, have read premature analyses of the situation and believed that to be the case. Thank you, Joe, for clearing that up.
I think that my original point stands, however. The standing of Novell in the Free Software community has been severely compromised, and it’s going to give developers pause before continuing Mono’s use.
I think you’ve done great things with Beagle, Joe. It’s an excellent piece of software. But the behaviour of your employers is indefensible.
In the spirit of Free Software, I shall use a quote that I think expresses it best, from the Samba team:
I think the title of The Register’s story on Samba’s response also expresses it very well.
The FAQ, to which you refer, dances around the issue using marketing-speak; and I suspect the original agreement does something very similar.
However, I shall of course update my blog post to make sure it’s accurate.
Michael.
Comment by Michael — November 20, 2006 @ 5:09 pm