Slashdot Log In
Sun to Fully Open Source Java
Posted by
Soulskill
on Wednesday April 23, @05:20PM
from the free-refills dept.
from the free-refills dept.
Dionysius, God of Wine and Leaf brings news that Sun Microsystems will be removing the last restrictions on Java to make it completely open source. Sun wants Java to be easily available for use in Linux distributions. We've discussed the steps Sun has taken to open-source Java over the past couple years. From Yahoo! News:
"'We've been engaging with the open-source community for Java to finish off the OpenJDK project, and the specific thing that we've been working on with them is clearing the last bits that we didn't have the rights,' to distribute, Sands said. 'Over the past year, we have pretty much removed most of those encumbrances.' Work still needs to be done to offer the Java sound engine and SNMP code via open source; that effort is expected to be completed this year. Developers, though, may be able to proceed without a component like the sound engine, Sands said.
Related Stories
[+]
Sun Open Sources Java Under GPL 535 comments
prostoalex writes "The embargo is off, and Associated Press is reporting on Sun releasing Java under GPL. Sun is hoping that this step will attract more developers, as well as extend the lifespan of Java. The article notes that this is 'one of the largest additions of computer code to the open-source community', and that Java is currently being run on something like 3.8 Billion devices worldwide." From the article: "Rich Green, Sun's executive vice president of software, said the company hopes to turn more developers into Java programmers, who may then create additional software to support Sun products. 'The open-sourcing of this really means more — more richness of offerings, more capability, more applications that consumers will get to use,' Green said. 'The platform itself will become a place for innovation.' All the Java source code is expected to be released by March 2007, Green said. The move covers all Java technology, which includes software that runs on handheld devices, personal computers and servers."
[+]
Sun Lowers Barriers to Open-Source Java 144 comments
Shyane writes "Sun Microsystems is making it easier for open-source programmers to ensure their Java versions meet the company's compatibility requirements, but the deal extends only to those involved in Sun's own open-source Java project. The program grants access to its Java Technology Compatibility Kit to anyone with an open-source Java project that is based substantially on Sun's open-source Java software and governed by the GPL. Programmers need access to the test kit to prove that a project is in compliance with the Java specification. Projects that pass Sun's compatibility kit tests also can use the official Java logos for free."
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

Kudos to them, I guess (Score:5, Interesting)
Reply to This
Re:Kudos to them, I guess (Score:5, Informative)
Also, if you read the article, you will see that the new and improved Open Source Java will be missing some features (ie sound). So this isn't so much open-sourcing Java as it is removing the last offending bits that cannot be open-sourced and hoping they will be coded back in.
Just my $0.02.
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Interesting)
I suspect I'm with the majority of
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Insightful)
Not caring about licensing questions probably means that you've failed to consider them in depth. That probably seems like a very reasonable choice - if you wanted to worry about legal issues you would have gone to law school - but it's also very short sighted.
"Freedom" seems abstract and irrelevant until you find out that the elegant technical solution you want to implement is disallowed by the license of some component you're using. This rarely happens immediately, because you wouldn't have picked a tool if it didn't let you do what you initially wanted, but it comes up pretty frequently when you try to do something that you didn't initially consider.
Examples:
- You design your application using Oracle as the database. $20,000 a server seems fine - until you realize that the whole design would be more elegant if you moved a bunch of logic into the database and replicated it a bunch of times (say... at each client site). But $20,000 * 100 sites isn't in the budget, so you're forced to scrap the best technical solution for legal reasons.
- You design a data entry interface in Flash. The project expands, and it turns out that it'd be more effective if the users used tablets rather than PCs to do their data entry. So you bring on a hardware team, and they tell you that ARM tablets cost 1/3rd what x86 tablets would cost. Sadly, there's no flash player on ARM - and with your budget it would have been a simple port, too.
Far from being irrelevant and abstract, the issue of licensing is directly relevant to anyone selecting software to build anything important (software or any business process). Proprietary licensing means usage constraints - both explicit constraints like the limited set of Flash platforms and economic constraints like the per-server Oracle license fee. Developing on proprietary stuff is like working in a mine field - sometimes you have to do it, but it's sure as hell something you want to avoid.
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Informative)
Before I bought my Mac in summer 2006, I was a FreeBSD user. At the time, FreeBSD users were not able to download FreeBSD binaries of the latest versions of Java due to a licensing agreement IIRC; instead, they had to either download a binary of the older version, download the Linux binary and use FreeBSD's Linux binary emulation, or download the source code of Java (with a very restrictive license) and compile it, which took a long time. Now that Java will be fully open-source in the near future, life for FreeBSD users (as well as other platforms where Java is unsupported) would be much easier, as pre-compiled binaries would be allowed to be distributed without Sun's permission. A lot of us don't have the time to waste multiple hours compiling software.
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Funny)
And the rest of us use Gentoo. If this new "open source" Java takes less than a week to compile, I will be extremely disappointed in Sun's efforts!
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Funny)
Now those children blindly agree to the somewhat less arbitrary GPL which they are incapable of understanding.
This is truly a magnificent day!
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Insightful)
I suspect that the closed sourcing is also why support for Java on non-priority systems has lagged behind. It's been a while, but I used to support Java apps that were running on FreeBSD. At the time, the state of Java there lagged behind the big three (Linux, Windows, Solaris) considerably- the latest versions of of the JDK/JRE weren't always available, and when they were there were sometimes weird bugs lurking in them that would cause applications to puke. Support for other languages wasn't anywhere near as far behind because it was much easier for BSD developers to track changes in the source of languages that primarily targeted Linux.
For that matter, despite Suns attempts at making Java a universal platform, support on some platforms has been better than others. My employer bought a 3rd party Java HR application for employees to use for leave/VK time reporting, with the promise that it would work for any system since it's Java (a lot of people have Linux or Mac). No such luck. It's interface is an applet that works on only certain versions of the JRE under windows. Maybe the vendor is just incompetent, but Java is supposed to simplify the writing of cross-platform applications. I strongly suspect that these kinds of problems are a consequence of Sun keeping the source closed: priorities on development of the JRE/JDK had to be constrained by Sun's resources and economic priorities. No matter how enthusiastic the user community on lower-priority operating systems, they couldn't fix problems themselves.
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Insightful)
Reply to This
Parent
Re:Kudos to them, I guess (Score:5, Informative)
Reply to This
Parent
What fate awaits GNU Classpath? (Score:5, Interesting)
jdb2
Reply to This
What, (Score:5, Funny)
Reply to This
Will this mean a 64-bit plugin sooner? (Score:5, Informative)
Reply to This
Browser Plugin (Score:5, Interesting)
Reply to This
Re:Better late than early (Score:5, Informative)
Reply to This
Parent
Re:Better late than early (Score:5, Interesting)
Reply to This
Parent
Re:Better late than early (Score:5, Interesting)
The big problem has been Sun's corporate mindset. Until recently, key decision makers at Sun, both on the business side and the R&D site, seriously believed that they were smarter than everybody else, and had no need to listen to anybody else's ideas. That's why Sun stuck with SPARC processors so very long after it became obvious that commodity processors were the future — SPARC architecture is superior to x86, end of discussion. It's also why Sun's first attempt to move to commodity systems (by spending $2 billion for Cobalt Networks) was a total disaster: the Cobalt people couldn't get any respect from the rest of Sun, and quickly moved on. I can think of many other examples.
I was a contractor at Sun/JavaSoft in '98, and saw this attitude all over the place. In some cases, I couldn't get access to the FrameMaker source for key specifications because the spec owners feared "forked" copies of the specs!
The really sad thing is that many of these people were every bit as smart as they themselves thought they were. But their raw intelligence was often wasted, because you need a certain willingness to collaborate to create a real product.
I recently came back to Sun as a regular employee. I like to think this intellectual arrogance is no longer a major problem here. Part of this is the example set by current upper management, which seems to understand the problems I describe. But the big reason: most of the my-way-or-the-highway geniuses have been hired away by Google.
Reply to This
Parent
Re:Better late than early (Score:5, Interesting)
Reply to This
Parent
Re:Better late than early (Score:5, Informative)
Sun thought that Java was going to be the Next Big Thing
And rightly so considering the last 13 or so years of development in the industry.
Java lost a lot of ground in the back-end space to Python, Ruby, and others
I'm going to go out on a limb here and say that this remark is probably only true regarding FOSS projects. Looking at this statement from a commercial development point of view is another ballgame entirely.
Job search hits from Dice.com
Lets be honest, the industry as it currently stands runs on Java and .NET. This is not to say that OSS and the languages mentioned above are not gaining ground quickly, but I think its important to keep a historical perspective regarding the status of Java. Java really was/is the Next Big Thing, and it will almost certainly become the next COBOL in terms of the amount of code which will need to be maintained decades from now.
Reply to This
Parent
Re:Better late than early (Score:5, Informative)
Sun was talking about open sourcing java for many years, but it was only fairly recently (december 2006) that they actually annouced the license they planned to use and gave us a little taste of code (not that said code was much use on it's own). and promised all of the JDK "except for a few components that Sun does not have the right to publish in source form under the GPL" would be released by march of the next year
Then when it came we discovered that those few components included serveral major parts of the graphics subsystem. Progress to getting high quality replacements for those components and getting them into the official codebase has been rather slow and is still not complete.
Also it was only last febuary that they opensourced anything from the java6 codebase, before that everything they released was from the java 7 alpha codebase, hardly ideal for production use (though a couple of linux distros shipped the code anyway because they considered it better than nothin).
This article doesn't really tell us anything we didn't know already.
Reply to This
Parent
Re:Better late than early (Score:5, Insightful)
Who cares? We're a company, not a bunch of broke kids, and don't have problems spending money if we need to. "Free as in speech" is much more important to us than "free as in beer", even though the lack of price tag is a nice bonus.
Reply to This
Parent
Re:Better late than early (Score:5, Insightful)
Dead last?! Spoken like someone who has never been fucked over. Just wait 'til a proprietary compiler/runtimelibrary vendor tells you, "No, we're not ever fixing that. And you can't fix it, either." It's even better when you have to tell the same thing to your client.
Sympathies to the FoxPro guy. I was once a Clipper guy. I don't know whether the availability of maintenance is number 1 or 2 on my list, but it's waaay up there. Never again. Never fucking again will I have that kind of shit in my life. I'll get out of IT and flip burgers for a living, before I write another line of code that has miserably crippled and hopelessly unmaintainable dependencies.
Reply to This
Parent
Re:What will happen to GNU Java? (Score:5, Insightful)
Reply to This
Parent
Re:MySQL (Score:5, Informative)
Reply to This
Parent
Re:This is good news... (Score:5, Insightful)
Major distros will ship proper java by default (some already are shipping java builds based on the code sun has released so far with bits from elsewhere to try and plug the gaps) and they will be able to patch it themselves to backport security fixes or fix issues with new versions of libraries (there was a bad one involving sun java 6 and a new version of some library recently, I don't remember the details but I do remember sun took ages to get a fix out).
Reply to This
Parent