Sun's Java Will Be Free This Year 274
Ian Whyde notes that Sun is finally coming to the end of its struggle to open up Java completely. Simon Phipps, the chief open source officer at Sun Microsystems, said: "There were a couple of holdouts there. One was the area to do with raster graphics and 2D graphics. That turned out to be owned by a company that didn't want us to release that code as open source. We negotiated with them and because they've said 'yes, you can open source the code'... The only element that's left now is actually a sound-related component within Java. We finally decided that the vendor that's involved there just isn't going to play ball and we're rewriting the code from scratch. That's going to be done within the next couple of months." In another sense the milestone of a free Java was reached this week when IcedTea passed the rigorous Java Test Compatibility Kit.
Next Question... (Score:5, Interesting)
Re:Next Question... (Score:5, Funny)
And then we can fork it and wreak havoc on MicroSoft's plans by calling it .Nut!
Oh yey.
Re:Next Question... (Score:5, Informative)
Java has had 64-bit support for a very long time.
The only thing they haven't provided is a 64-bit web browser plugin. (And believe it or not, these days applets are probably the vast minority of where Java is actually used.)
Re:Next Question... (Score:4, Interesting)
Re:Next Question... (Score:5, Informative)
unfortunately one thing that sun has not opensourced yet is the java plugin. So icedtea are using a plugin based gcjwebplugin. Unfortunately this plugin does not support all the features that the sun plugin does :(
Re:Next Question... (Score:4, Insightful)
And in five years time, you will feel the same way?
Re: (Score:3, Insightful)
Unless the sysadmins are loading up sites using Java applets on those servers, there won't be a problem.
Re: (Score:2)
Re: (Score:3, Informative)
Re: (Score:2)
You do know that Java is used more in Server Side technology , dont you ?
Tomcat , Jboss , just to name a few .
There's no doubt that using a more native approach will lead to better performance
Re: (Score:2)
I can currently get a 64bit, 8-core , 16GB of ram server for about 5 grand. Unfortunately I'd likely have to chop it up with vmware because of a lack of a 64bit flash plugin and unfinished 64bit applet support. I know about the nspluginwrapper, but its flaky.
Re: (Score:2)
Afaict the only part of java that lacks an x64 port is the sun browser plugin (icedtea have thier own gcjwebplugin based one but it doesn't work for all applets).
Re: (Score:2)
Re: (Score:2, Informative)
How in hell did this get marked as troll? Most servers are PCs and most PCs can't do over 3GB RAM without 64 bit support. Some can get to 4 but that's about it. And let's not forget that many instructions take the same amount of time whether they deal with 32 bit data or 64 bit data. By using 64 bit words, THOSE instructions will do TWICE as much work at a time. Just recompiling for 64 bit and running in the 64 bit mode often gains 10-15% improvement in performance by virtue of being able to shovel bytes faster (and not having to use register renaming, probably) :P
You're saying the right things but for the wrong reasons. To wit:
- Most PC's can't handle above 4GB of RAM (not 3GB) because of limitations of the x86 architecture. Intel created Physical Address Extension (PAE) technology to extend this up to (I believe) 8GB, but it's a kludgy patch on an ancient architecture. x64 technology bypasses both of these limits and gives you access to (theoretically) 16 exabytes of RAM. Both Intel and AMD support less than this, but they still support far more than a teraby
Re: (Score:2)
64-bit can be faster than 32-bit if the application was using data structures larger than 32-bit to begin with
Or if the application can benefit from having more than a small handful of registers, which plenty can. Doubling the size of pointers can have a negative effect, but it's typically negligible.
Also, fuck having 4GB of address space to play with, and fuck struggling to even get 3GB of it into userspace; more typically you only get 2 without jumping through hoops. By the time you've mmapped a few data files and fragmented memory a bit that's *nothing*.
Same old 64-bit preconceptions (Score:5, Interesting)
May I suggest Myths and facts about 64-bit Linux [amd.com] for your reading pleasure ?
Re: (Score:2)
Re: (Score:2)
I have seen the sequential disk read throughput of an old SATA box jump by +30-40% with a 64-bit kernel, because of the paging overhead of a 32-bit kernel required to access high-memory (ie. memory between 1GB and 4GB).
Huh? Why does Linux have to use bounce buffers to get into "high" memory? Don't all even slightly modern devices support at least 32bit DMA?
Indeed, plenty of things max out at 32bit, so you need to use bounce buffers to DMA above 4GB.
Re:Same old 64-bit preconceptions (Score:5, Interesting)
Re: (Score:2)
Re: (Score:2)
Get two or three going and you'll run out of RAM in a hurry.
Adobe + Sun + Opensource = Heaven (Score:5, Funny)
Am I the only one who loves Coldfusion?
-Jim Bastard
Re:Adobe + Sun + Opensource = Heaven (Score:5, Funny)
Yes
Re:Adobe + Sun + Opensource = Heaven (Score:5, Funny)
I thought you were dead already...
Re: (Score:2)
He works for myspace...
two months for rewriting code? (Score:4, Insightful)
Why don't they just optimize the needed lines from IcedTea and glue them to their licensed code?
isn't that supposed to be the way OSS benefits the community?
Re:two months for rewriting code? (Score:5, Informative)
Sun wants to retain the dual licensing model for now (see above) and thus they cannot just use GPL'd code just yet. On the bright side they can change the license now at wish and can make Java GPLv3 or BSD any time they want.
Re: (Score:3, Insightful)
Or just post it with dummy code for the audio, so the community will be able to contribute working code? If you're going to post it as open-source, why not let that work for you, too?
Re: (Score:3, Interesting)
Uh... Sun did that last summer, and the IcedTea provided the implementation.
What Sun is doing is to re-implement the audio code themselves so that they can dual-license Java.
Major thanks + minor celebration (Score:5, Interesting)
I think I'm with everyone here if I give Sun a big "Thank you!" for all their trouble and effort. Java would probably one of the biggest wins for the community and its release when it comes will be worth a celebration.
Re: (Score:2)
Re: (Score:2)
Reboot the server to reload war files? What kind of hack was that???
Tomcat have always* suported reloading war files. They even include a web utility where each customer can start/stop/reload his servlet.
*At least at far back as I can remember.
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Interesting)
Re: (Score:3, Informative)
Bea is doing some interesting things with their LiquidVM [bea.com], which lets you run Weblogic as the "Guest OS" on top of your hypervisor. I can see this letting shared hosting companies offer J2EE to their clients.
On other news (Score:3, Funny)
This is also the year of Linux on desktop.
Don't rewrite, just remove it! (Score:3, Insightful)
Re:Don't rewrite, just remove it! (Score:5, Informative)
which is what JDK 7
Re:Don't rewrite, just remove it! (Score:4, Informative)
However, Sun's JVM is dual-licensed, and as such they can't just include the Classpath code like IcedTea did, as that would violate Classpath's GPL license. Instead Sun is re-implementing the remaining code so that it can be dual-licensed as well.
I hope (Score:5, Insightful)
... people recognize the scale and generosity of what Sun have done in GPL'ing their crown jewel.
Re:I hope (Score:5, Funny)
You're new to slashdot, then?
Re:I hope (Score:5, Insightful)
I don't want to take away from the great collaberative thing they've done. They are definitely pulling their weight. However, you should realise they don't do this because they are a charity. They do this because they think it will give them commercial gain.
It's main benefit is it becomes much safer to rely on Java than on DotNet. Once Sun has done this you can commit to their platform knowing that they cannot take the rug away from under your own software. That's a promise which makes Sun Java much more attractive.
Re:I hope (Score:4, Insightful)
Which is exactly why they should do it, considering that Sun is a for-profit publicly traded company. Commercial gain is what they are supposed to do.
It will be interesting to see where this all leads.
Re:I hope (Score:5, Funny)
... people recognize the scale and generosity of what Sun have done in GPL'ing their crown jewel.
Re: (Score:3, Interesting)
Re: (Score:2)
Solves most RAID scenarios (Score:3, Informative)
There's more kinda of RAID than RAID-5. But thanks for playing anyway.
ZFS can do stuff that's pretty much like 0,1,5,6, and the 10,50,60 variants of that. It can also do multiple copies on a single disk, and does round-trip checksumming.
What other sorts of RAID do you find useful?
Re: (Score:3, Interesting)
... people recognize the scale and generosity of what Sun have done in GPL'ing their crown jewel.
Re: (Score:2)
Those are already making their way into other operating systems, including F/OSS ones. Just not Linux, because they're under GPL-incompatible licenses.
(MacOS 10.5 has DTrace, FreeBSD 7 has ZFS, etc.)
Re: (Score:2)
Re: (Score:2, Interesting)
I doubt Sun did this out of altruism. They didn't start being more open with Java until they had competition in the form of .Net
However, props to Sun for doing the sensible thing.
Re: (Score:2)
I hope people recognize the scale and generosity of what Sun have done in GPL'ing their crown jewel.
What? Sun is a company, doing what benefits themselves. The last reason they're doing this is for "the good of the world". This is a simple business transaction, no appreciation required.
The reason they're doing it is that they fear the GPL'd version(s) of Java that are being rewritten, and fear being forked and irrelevent. This neatly cuts the other projects off at the knees and ensures they maintain c
Sound-related component from... (Score:2, Interesting)
According to http://java.sun.com/products/java-media/sound/soundbanks.html that looks like Thomas "Dolby" Robertson's Beatnik, Inc. -- or who "isn't going to play ball"?
In other news (Score:4, Funny)
RMS has decried the GPL'ing of Java as being a major assault on free software advocacy.
"For years we have warned people to steer clear of writing free software in languages that require non-free VM's or other components to work by calling this the 'Java trap'. Using this well known example with a VM that is slow and bloated and used for software that doesn't fit into any OS anywhere and which nobody actually liked, quickly got the point made and we could then more easily make the point about things that some people actually enjoyed like educational games written in flash... now SUN has GPL'd Java they have made removed our greatest example of the evils of the erm flash trap ! This may still have been a win for free software if only anything usable had ever been written in Java - but seeing as nothing has, it was only ever good as an example. Universities used the language as an example of good object orientation, we used the license as an example of the s/java/flash/g trap" the FSF founder said in a press release.
Despite his hardcore geek nature the release will more likely be remembered for his attempts at a verbal sed script than for it's actual point.
Re:In other news (Score:5, Interesting)
WTF !?!?!?
What kind of crack made a mod rate me INTERESTING there ? Was the satire/joke not obvious enough ?!
Re:In other news (Score:5, Funny)
s/obvious/funny/g
Re: (Score:3, Informative)
"Funny" doesn't give you karma, but "Interesting" does. Someone was throwing you a bone for being funny, but had to work around Slashdot's broken moderation system.
Re:In other news (Score:5, Interesting)
Obviously you don't understand teh slashdot. When someone mods you funny the comment gets scored up but you don't. So if you get modded funny and then overrated over and over all day, you will lose karma without the negative moderations ever going to metamoderation. Modding a joke with insightful is a means of combating this shortcoming of slashdot; insight is the key component of successful humor, so it is the most rational moderation to apply to a funny comment if you want to prevent this potential karma attack.
Obviously, karma is just a number, and you don't even get to see it; any poster who is right more than wrong tends to hit the karma kap (last I heard, it was 50) pretty quickly and stay within ten points of it, thus having no problem maintaining their comment score bonus. On the other hand, this is a real problem (funny is a positive moderation option because humor is a positive force - why should people be penalized for being funny?) so deliberately working against it is entirely valid.
I set myself unwilling to moderate because of the serious flaws in the moderation system; besides the above there is the very real problem that you are not allowed to comment and vote in the same story. The people most likely to post a comment actually worth reading and the only people actually qualified to moderate comments in a story are the same people! It's just like jury selection - to (poorly?) paraphrase Dennis Miller, the only way you can even get on a Jury is to prove beyond the shadow of a doubt that you don't know shit about the case in question. Guess what? Moderation works precisely the same way. You can vote, or you can contribute actual information, but you can't do both.
Re: (Score:2)
It sounds like something RMS could say :D... Hence the moderation.
Re: (Score:3, Funny)
"RMS has decried the GPL'ing of Java as being a major assault on free software advocacy."
Strange, according to multiple easily locatable sources Mr Stallman was very pleased with the idea and execution of the release of Java under the GPL and when the GPL announcement was made a video was available of him endorsing the move. Could you give a source for your apparent quote from RMS?
Dumbass mods (Score:2, Offtopic)
This is funny, not interesting.
Re: (Score:2, Informative)
It's good news (Score:5, Insightful)
Re: (Score:2)
Seriously -- would you ever comply with my request? How do you feel about me even asking it?
Re: (Score:2)
or... use the GPL code and make those implementation better and then let the evolution follow its course and weed out the bad projects. Who knows maybe another OSS implementation might prove to be better than Sun's.
This is Great News (I'm a .Net/Mono Developer!!) (Score:5, Interesting)
I Have enjoyed writing software in Mono for the past year or so and developing .Net applications at work a little longer.
But one thing bothers me - you know what I going to say next.... ..Patents! or MS derived technology.
Now, to be fair it seems pretty much most software is 'perceived' to violate a patent of some description today.
As I understand it the mono vm apparently is o.k. but some of the libraries(e.g. ADO, Windows.Forms, ASP and even c#) are suppossed to violate patents and this is unfortunate.
Some of the software I have written will have commercial applications and the *uncertainty* of the status of mono in general is in question. Even the MS 'agreements' signed by Novell purposely *exclude* mono in any protection.
Personally I prefer Mono(and some great apps are available-e.g. Banshee, MonoDevelop) compared to Java but because of the huge amount of work by Sun and the community to fully open-source Java I will switch to it immediately.
My reasons to switch are: .Net's direction from v2.00 to v3.5 is becoming more tied in to Windows. From v3.0(or v3.5?) Microsoft included Vista libraries are part of the default installation. It's the old MS Treadmill(tm) all over again.
1) Java is open-sourced and the actual company(Sun) that created it are fully involved and are a positive influence in the community.
2) Java is present in almost all modern mobile phones. There is great potential to leverage this and I'm sure there are many ways this can be used with the Desktop.
3) The development tools are free, full versions and are very powerful. Visual Studio Express is free but it has reduced functionality compared to the full version.
4) 'Peace of Mind'. I can develop my software without looking over my shoulder wondering 'will I get sued'!
5)
As far as I know both Java and Mono are very capable technologies. It is difficult to choose one on technical merit alone, it comes down to the licensing - Sun has fully committed to the community and Microsoft has been fairly under-handed.
If Mono is to survive and be taken seriously within the community it must take a completely different direction. Start developing open-source equivalents of the libraries (e.g. gtk# for gui controls).
Like I said before I prefer Mono to Java (concerning the gui Mono just 'feels' more responsive than Java).
What we should do as a community is to fully get behind Java and push its development and start using it on the desktop. We can create some great applications for it and keep open-source software 'untainted'.
Sun have made a great long-term decision by opening-up Java - it will be seen as a safe option and is available for many platforms. .Net's long-term future is in doubt because Microsoft will not open-source or allow competing versions to exist. Many forms of computers now exist today in mobile phones, pdas, laptops and many different types of CPUs. Java(in various forms) runs everywhere. By using Java as a common standard all these devices can communicate together and develop interesting uses.
Just the insane ramblings of a elderly programmer (I'm 38 you know!).
P.S. 'Get off my lawn!'
Richard was right (Score:5, Informative)
Do you guys and gals remember when Richard did a short stint in a video for Sun following the announcement that Sun had decided to GPL Java ?
I can only imagine how happy Richard was on that day. He had every reason to be so. Not simply because Sun had chosen to use his license for Java-but rather because of a little bit of historical trivia that most Free Software users are too young to remember.
Now surely you know the name James Gosling. He was the one who created Java. But did you know that there is a rather interesting relationship between him and Richard ?
One of the single biggest reasons that Richard wrote the GPL and created what we now know as Free Software has everything to do with James Gosling.
"In the early years (1984 to 1988), the GNU Project did not have a single license to cover all its software. What led Stallman to the creation of this copyleft license was his experience with James Gosling, creator of NeWs and the Java programming language, and UniPress, over Emacs. While Stallman created the first Emacs in 1975, Gosling wrote the first C-based Emacs (Gosling Emacs) running on Unix in 1982. Gosling initally allowed free distribution of the Gosling Emacs source code, which Stallman used in early 1985 in the first version (15.34) of GNU Emacs. Gosling later sold rights to Gosling Emacs to UniPress, and Gosling Emacs became UniPress Emacs. UniPress threatened Stallman to stop distributing the Gosling source code, and Stallman was forced to comply. He later replace these parts with his own code. (Emacs version 16.56). (See the Emacs Timeline) To prevent free code from being proprietarized in this manner in the future, Stallman invented the GPL."
http://www.free-soft.org/gpl_history/ [free-soft.org]Many people who are ignorant of this history have always been affronted by Stallman's use of the phrase "Java Trap". But is it really any wonder that Richard chose to use that expression-given what personally had transpired between him and James Gosling.
Bill Joy was the cofounder of Sun Microsystems. He is also the guy who originally wrote Vi. Bill Joy was also friends with James Gosling- and made Gosling's baby practically synonymous with the name Sun.
This little bit of trivia adds a whole lot to all of the flamefests over the years about Emacs vs. Vi. SunOS, which we now know as OpenSolaris, was the first heavily commercialized version of what we now know as BSD. Bill Joy used the code written at Berkley to create the original SunOS.
That Java is now GPL is nothing less than Sun saying to Richard-"Richard, you were right". And if one day OpenSolaris embraces the GPL Richard's victory will be complete.
You may think this is nothing but propaganda-but I encourage you to actually *learn* about the history of these giants of the computer world.
Now that the OpenJDK is %100 Free, %100 GPL, Richard has received the kind of vindication that hardly *anyone* in life ever gets. Cheers to you Richard and Cheers to Sun for seeing the light.
Re: (Score:2, Informative)
Interesting perspective. Not to take away from what you said, but:
Re: Richard was right (Score:4, Informative)
Free only this year? (Score:3, Interesting)
I've downloaded Java from Sun a couple of years ago and didn't have to pay a dime!
(ducks for cover)
.
.
.
.
.
.
.
.
.
.
I know, I know, free beer vs free speech, RMS etc.
Seriously, though, does anybody know of significant Java apps that use that javax.sound API which is the problem in OpenJDK?
Seems like this is the least frequently used (and least important) part of the J2SE API.
Re: (Score:3, Interesting)
Re: (Score:2)
Re:Obsolete (Score:5, Insightful)
Yes of course Java will be declared obsolete this year. As one of the top most in demand tech skill on the planet all the usuers are furiously swapping to make sure they convert to product Y by the end of the year and abandon the last ten years of development. (try typing in the word Java to a job search engine, then type in your favorite skill de jour)
Re: (Score:3, Informative)
Also, supposedly Java is big in the mobile phone type electronics space, but I don't have any experience with that - maybe somebody el
Re:Please excuse my ignorance... (Score:5, Informative)
The vast majority of Java coding is in Enterprise Middleware - e.g. trading systems, payment engines, SOA, eCommerce middleware, messaging buses, ERP, etc. typically run on JBoss, BEA WebLogic, IBM Websphere and Oracle OC4J. These are often part of larger SOA offerings such as: BEA Aqualogic, Oracle Fusion, JBoss/RedHat SOA platform - all are Java based.
The large finance orgs where I work have 100's, perhaps 1000's of java people for every C++ person.
You'd find that most designers/architects would not normally spec java as a front end technology and would *extremely rarely* spec C++ for middleware. For a time in the 90's, C++ middleware nearly took off using containers from folks like IONA - but I've not seen an enterprise middleware container for C++ for a while now thats anything like the spec of a J2EE container - with the exception of microsoft's .net framework that can use C# - which is probably more akin to java than C++.
Re:not quite (Score:5, Informative)
Once the GPL version is out there it's out there, having a closed source licence version won't stop that.
Re:No please! LET IT DIE!!! (Score:5, Insightful)
Re:No please! LET IT DIE!!! (Score:5, Funny)
Re:No please! LET IT DIE!!! (Score:5, Informative)
Re:not quite (Score:5, Informative)
Dual licensing means that Sun still has special rights
If Sun has copyright, they have special rights regardless of how many licenses they release Java under.
Frankly, if Java's released under a free license, its irrelevant what other licenses you use with it.
(is perl less free because of dual licensing? KDE?)
Re:not quite (Score:4, Interesting)
On the other hand, the GPL has some very specific restrictions on how code may be modified or re-licensed. It's also got that fantastic clause that RMS may retroactively change the terms of your license at any time (Linus ignores that one).
Re:not quite (Score:5, Interesting)
Come to think of it this reminds me a lot of other open projects. The code is open and you can suggest something should be in it. However if they say no you are SOL. You will have to compile the project on your own and add in your changes. What would you want instead? Is the only problem you have that Sun has final say in the JCP?
Re: (Score:2)
Come to think of it this reminds me a lot of other open projects. The code is open and you can suggest something should be in it. However if they say no you are SOL. You will have to compile the project on your own and add in your changes.
And just to finish out the whole thing: if your fork of the product becomes more sufficiently popular, the original creators will probably change their mind and accept your patches. We've seen this happen again and again, especially in the X11 community :)
Re: (Score:2)
Re:not quite (Score:5, Informative)
Exactly - as soon as Sun put code in to it (i.e. the start) they had rights on it in terms of having control over people re-licensing it. Now that it's GPLed then Sun can do whatever they want, but the GPL version is still out there and free for people to take and modify.
Re:Why Sun's Java? (Score:5, Insightful)
Re: (Score:2, Interesting)
I can only hope that Sun's going to move all development to the GPL branch in future.
To take Digium Asterisk as an example of a disastrous dual licensing scheme, they release a GPL version of their code and keep their proprietary version closed source (which means they can use no GPL code in it). All contributions made are given to Digium or put in the public domain - stripping the original author of his or her copyright.
So it's open source and you can take the code, branch it off and do whatever you want,
Re: (Score:2)
Firstly openjdk is not pure GPL, it is GPL with a special exception to allow use of the openjdk class libraries with propietry applications. This would severely restrict the number of sources that could be borrowed from even if sun dropped the requirement to grant them permission to use your contribution however they see fit.
I can't see java's licensing model changing in the forseeable future because sun almost certainly has contracts with many customers who want to use Java under other terms and are willin
Re:The company that owns the sound support stuff (Score:5, Insightful)
Re: (Score:3)
When you know who the company is, you can then start asking the right questions like:
iirc it might have been the midi component of the sound system, but any more information would be great.
Re: (Score:2)
The graphics rendering pipeline was based on licensed code from Kodak. The sound support was based on a licensed copy of Dolby Headspace. Headspace is actually far more capable than the Java API exposes. There was a bit of a push to expose that functionality, but Sun didn't want to go that direction for fear of compromising the possibility of independent Java implementations. Seems that was a wise decision.
Re: (Score:2, Informative)
Who said it was 'deeply woven into the language'?
You do realise that we're talking about the entire API? A GPL Java interpreter/compiler is (and has been proved to be) trivial to implement.
Re: (Score:3, Informative)
Re: (Score:3, Informative)
Re: (Score:2)
Re:JAVA Stock will be free this year, too. (Score:4, Insightful)
Well, there is
Or, to put it really harshly, "There's loads of profit to be made in GPL'ed software, for everybody except the fool that's writing it." (Yes, yes, I know that's overstating it, but I thought I'd leave some mod points up for grab for the replies!)
That is nonsense. (Score:3, Insightful)
If you are a consultancy relying heavily on a given piece of software and it brakes or you need enhancements, who are you going to ask to do the work for you?
Maybe people working independently in FOSS projects do not know how to market themselves as gurus of a given project, but this does not mean some people actually doing the programming will not benefit.
Re: (Score:3, Informative)
As long as there are no people involved that have seen sample A, sample B is clean.
Re: (Score:3, Informative)