Slashdot Mirror


Sun To Choose GPL For Open-Sourcing Java

An anonymous reader writes, "Sun is about to announce its plans for open-sourcing Java SE and ME, according to CRN — and they're going to use the GPL, not their own CDDL or another less-restrictive license."

36 of 407 comments (clear)

  1. Yesssssss........ by Divebus · · Score: 5, Funny

    Another thing Microsoft can't own.

    --

    Most of the stuff on /. won't survive first contact with facts.
    1. Re:Yesssssss........ by cibyr · · Score: 4, Insightful

      MS wishes they owned java, .NET is trying to compete with java!

      --
      It's not exactly rocket surgery.
    2. Re:Yesssssss........ by miyako · · Score: 5, Insightful

      I'm not sure it could happen quite that simply. From what I understand, Sun still retains the trademark for Java. Microsoft could fork the language, but they couldn't call it "Java". Basically, it should be much the same as it is right now - anyone can make a compatible VM (though now they can build it off the original code) - but it has to meet up with Suns standards before they will give the go-ahead to call the thing Java.
      Given Sun and Microsoft's past history I would imagine sun would test anything that came out of Redmond wanting to be called "Java" very carefully.

      --
      Famous Last Words: "hmm...wikipedia says it's edible"
    3. Re:Yesssssss........ by Dracos · · Score: 4, Insightful
      Microsoft could fork the language, but they couldn't call it "Java".

      True... MS would have to call it something else... like... say... J++? Or maybe J#?

      If the MS-Novell deal turns out to be the catastrophe that everyone thinks it is (based on MS' track record of how it treats its "partners"), then this is a really smart move for Sun. SuSe and Gnome get tainted, Mono becomes a dirty disease, what's left to fill in the void? Java: the reason why .NET and Mono exist in the first place.

    4. Re:Yesssssss........ by Weedlekin · · Score: 3, Insightful

      "Yes, that was MS's version of the Java language that could have made Java popular on the Windows desktop if Sun hadn't sued them."

      Microsoft's VM was a lot better than Sun's at that time, and their Windows GUI library made AWT look like the utter pile of shit that it was. They also put a lot of effort into marketing Java as the future of Windows application development to developers, and had a language independent native interface and interoperability layer that was offered to Sun, but rejected in favour of JNI.

      "Sun decided that pure Java was more important than success on the Windows desktop so I guess they should be happy that things turned out the way they wanted."

      I think it was more of a case of Scott McNeally's pathological hatred of MS leading to yet another in a remarkable series of bone-headed maneuvers that ended up nearly bankrupting Sun. This particular bone of contention seemed to revolve around the fact that while the MS VM and libraries supported JNI, their use required a command-line switch, and Sun reckoned that the command-line switch should be used to enable Microsoft's options rather than theirs (for some reason, an old illustration of Swift's Lilliputians and their war over what end of a boiled egg was the correct one for breaking with a spoon kept coming to me whenever I read about that particular saga).

      "These days MS isn't interested in Java and Windows developers are even less interested."

      And because of Mono, the same can be said for growing numbers of Linux and OS X developers. By cutting off their own nose to spite their face, Sun not only closed the door on a big source of revenue (MS were their biggest, and therefore most lucrative licensee at that time), but also spurred the development of a competing system by a company with effectively unlimited funds that had already written their own Java compiler, VM, and libraries, and therefore had a very good idea of not only what Java had done right, but also what was wrong with it. This together with Sun's foot-dragging over open sourcing Java led in its turn to a clone of the competing system that check-mates Java's ability to run on a variety of platforms. Way to go Sun!

      --
      I'm not going to change your sheets again, Mr. Hastings.
  2. Let someone clarify... by bogaboga · · Score: 4, Insightful

    Is the reference on everything *Java*, when pundits talk about Sun and its impending change of the Java license...or is it only what we Joe Users download in order to play games and read real time stock chart information which is the Java Runtime Environment (JRE)? A slashdotter seeks clarification. Thanks.

    1. Re:Let someone clarify... by TrappedByMyself · · Score: 5, Informative

      It only affects people who would use the Java source code itself. Does not affect people who develop applications in Java or people who use Java applications. So...a prime example of someone who would be affected would be Microsoft. They have their Java implementation in .NET. If they were to replace their implementation with Sun's, by hooking into the actual source code, they would also be bound by the GPL. I really think this is a good use of the GPL. Something as high profile as Java would be a huge target for "embrace and extend", and this protects

      --

      Help me take back Slashdot. When did 'News for Nerds' become 'FUD and Conspiracy Theories for Extremist Nutjobs'?
    2. Re:Let someone clarify... by kelk1 · · Score: 5, Insightful

      Well,
      It also affects all the regular users of ready-made distributions who only package and distribute GPL software.

  3. Er... by gaijin99 · · Score: 4, Insightful

    Is that a typo? "and they're going to use the GPL, not their own CDDL or another *less*-restrictive license."

    I mean, I know some people have a mad on against the GPL, but it ain't what you'd call restrictive. The only thing it does is mandate that all derivitve works also have to be GPLed.

    --
    "Mission Accomplished" -- George W. Bush May 1, 2003
    1. Re:Er... by glwtta · · Score: 4, Insightful

      I mean, I know some people have a mad on against the GPL, but it ain't what you'd call restrictive. The only thing it does is mandate that all derivitve works also have to be GPLed.

      Out of the most popular Free licenses, GPL probably is the most restrictive - many others don't have the restriction you mention.

      Not to say that I don't think the GPL is a good choice for this.

      --
      sic transit gloria mundi
    2. Re:Er... by timeOday · · Score: 4, Insightful

      It will seem restrictive to those would like to tweak the JVM and then use it to compete against Sun. Personally I think Sun made a great choice.

    3. Re:Er... by rpdillon · · Score: 5, Insightful

      "EVERYTHING you can do with GPL'd code, you can do with BSD'd code."

      It lacks the assurance that your software will remain Free and open source to anyone who uses it. This is something you can do with GPL'd code that you cannot with BSD'd code; make a legal guarantee about the freedom of the software.

      Which is more free?

      1) that which ensures freedom or
      2) that which grants so much freedom that it permits denial of freedom

      You make the argument that the answer is obvious, but if you pause to think rather than simply mashing the "reply" button, you may find that it is actually a question worthy of some consideration. I'm not saying I know the answer, but the answer has far reaching ramifications many arenas (abortion, wars, government, software, etc.)

    4. Re:Er... by ozborn · · Score: 4, Insightful

      Saying the GPL is "restrictive" is like saying emancipation is restrictive. Yes, emancipation does "restrict" you from owning slaves but the point is to maximize overall human freedom - which it suceeeds at.

      The freedom the GPL is taking away is for someone to take source code that is GPL'd and then:
      1) Take that code, bundle it into a restrictive (often commerical) license and give nothing back to the community
      2) Put it into a BSD style or public domain which is fine - until somebody does 1)

  4. And in other news tonight: by linguae · · Score: 4, Funny
    • Hell is seeing record low temperatures today.
    • Cats and dogs are living with each other.
    • Duke Nukem Forever will be released in December 2007, just in time for the holidays
    • Microsoft will abandon Vista and release a new version of Windows with a BSD foundation
    • Libertarians and Greens will defeat the Democrats and Republicans in most election races today

    I'll believe this when I see it.

  5. Will this lead to better desktop Java? by Salvance · · Score: 3, Insightful

    Hopefully the release of the Standard edition code under a GPL license will incent more developers to make the platform better. J2EE is great, but are there that many people who still write Java desktop apps or web Java applets? Even the better Java apps appear to be ridiculously slow and cumbersome, particularly under Windows (but even on Linux boxes).

    On the other hand, is this Sun's way of wiping their hands clean of everything besides their only Java moneymaker (J2EE)? They must realize that desktop Java has seen its day, and this might be a way to save some development resources while they continue to restructure in light of recurring market share losses.

    --
    Crack - Free with every butt and set of boobs
    1. Re:Will this lead to better desktop Java? by afidel · · Score: 5, Insightful

      The funny thing to me is that almost every large scale Java desktop app I have used is slow and a memory hog, yet J2ME apps run well on slow mobile chips with limited memory. Obviously it's not the Java language itself that creates the bloat but rather the mindset around Java desktop apps.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  6. This is a great move...even for the anti-GPL by rdean400 · · Score: 4, Insightful

    The thing is that we're not talking about Java "the Platform" here. We're talking Java the "Reference Implementations". Basically, anything derived from Sun Java will need to be GPL, which will keep the GPL crowd happy. It fills a niche that currently has no viable contenders.

    When you look at the other Java implementations, you have the Apache-licensed Harmony, and commercial implementations from IBM and BEA.

    Java can only be helped by this because it removes one of the major objections Linux backers have against using Java.

  7. Re:w00t! by DittoBox · · Score: 5, Insightful

    Is it just me, or has every article now been treated to the "itsatrap" tag? Getting annoying, and it's a flagrant abuse of the tagging system. Come on people, this isn't digg.

    No, wait, it's Slashdot!

    --
    Good. Cheap. Fast. Pick Two.
  8. This is great by br00tus · · Score: 5, Insightful
    Until I installed Debian I didn't even know there was no good free Java. I think this is great.

    For those who have already started complaining about the license in this thread - why don't you spend a few years writing your own Java clone, and giving it away under BSD or whatever?

  9. GPL2 or 3? by EmbeddedJanitor · · Score: 5, Interesting

    Next fight: which version?

    --
    Engineering is the art of compromise.
    1. Re:GPL2 or 3? by jsantos · · Score: 3, Insightful

      Well, since the GPL 3 is not going to be ready until January 15, 2007 at the earliest I guess the question is if the licensing is going to include the "either version 2 of the License, or (at your option) any later version" part of the copyright notice for GPL 2. My guess would be that they won't include it, so that they can know exaclty how it's going to be licenced in the future. Once the GPL 3 is out, thay may change it.

      --
      This signature intentionally left blank
  10. Interesting, if true by starseeker · · Score: 5, Insightful

    OK, first remark - I want to see this as an official press release on Sun's website, with a link to the code. Then I'll be confident it will really happen.

    Second remark - I think the GPL is a good choice for this. Consider what Sun might gain from open source Java under any license:

    1) Excellent integration with Linux, *BSD, and any other platform out there they haven't integrated into fully yet (except maybe Windows). They would get all the work done for free, too - distributions would be chomping at the bit to work long and hard on making everything work Just So.

    2) Much better realization of cross platform "write once, run everywhere" goals. Well integrated Java everywhere can only help this.

    3) Possible improvements as people get a chance to fix anything that's been annoying them for the last several years.

    All very logical reasons to open source, IMHO - Java is already freely downloadable. Sun owns the Java trademark, so they have no fear of forks which mean anything in terms of threatening Java mind share - Java has to be one of the most publicly recognizable programming language brand names in the world. Sun will always provide the "only" Java, whatever else out there might run Java programs.

    Now, what does GPL do for them, that other licenses might not?

    1) Credibility - rather than inventing Yet Another License, making things simple using already established (and I think functional for this purpose) licenses.

    2) Prevents commercial forking. Whatever open source Java becomes, it is unlikely that someone would try and compete commercially against Sun when Sun has the commercial code base and original developers. Any work any commercial developer did in competition (that they want to distribute anyway) would have to be offered free to the world under GPL, and even if Sun can't use it directly the ideas alone would be enough to allow them to keep up and maybe get there first in some cases.

    3) Allows maximal code sharing in the open world. GPL has its own momentum, as a sort of "logical end point" - free except for the ability to become non-free. That would seem to make a lot of sense to me for Java, particularly since I would expect (like OpenOffice) that most of the best code would come out of Sun and be copyright Sun. Sun can put out what it wants, and still license commercially if they so choose.

    Downsides for Sun primarily seem to be the "radical" image associated with GPL in some circles (yes that's a disadvantage if you want to look like a reasonable, sane business to some PHBs) and the inability to combine developments based on GPL Java back into their commercial Java without discussing it with the author. But since this very restriction is also a reassurance to the community in some ways, it might not be all bad.

    Anyway, I will watch developments with interest and look forward hopefully to the day when Java on Gentoo can be well integrated and smooth.

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
  11. Thats not what its about by Anonymous Coward · · Score: 3, Insightful

    Major contributions would not come to Java if it wasn't GPL. IBM doesn't want anybody (read Microsoft) to take any VM technology and put it into .Net. The GPL prevents this from happening so IBM can contribute to Java. Same thing happened with Linux. Much of the stuff that companies contributed to the kernel would not have happened if it was BSD licensed, but MS could use it commercially.

    IBM Java is going away.

  12. Re:w00t! by NosTROLLdamus · · Score: 4, Funny

    If the editors stopped posting traps, this wouldn't be a problem.

  13. This is such awesome news for all of us... by Drunken+Priest · · Score: 3, Insightful
    For some reason a lot of people diss Java... but other modern languages simply don't compare when it comes to implementing distributed enterprise apps. This is my bread and butter; so I'm a big fan (the only competition, really... is .NET).

    Sun was making some missteps... for instance how badly EJB sucked up to 2.1.

    Now we have POJO's implementing enterprise beans in 3.0. We have strong standardized support for security and cryptography (ala JCA/JCE, JSSE, JAAS). JDBC is a snap. We have excellent documentation and books available from J2ME to J2EE....

    Between Britney Spears being available again and the Repubs losing House and Senate... I'd say it was a good day.

  14. Not obvious at all by ClosedSource · · Score: 3, Insightful

    Isn't it much more likely that the difference in performance between a J2SE app and J2ME app has to do with the differences between the J2SE platform and the J2ME platform, rather than the "mindset" of developers.

  15. This will be super cool. by WhiteWolf666 · · Score: 3, Interesting

    Imagine Java not as a plugin, but as part of your browser.

    Better; part of your browser that _cannot_ be integrated into non-GPL browsers. They still have to run it as a plugin.

    This has mind-boggling implications in terms of patents that apply only to browser plugins (ahem---Eolas).

    I've always wished for a Firefox with Java + Flash integrated (does that even make sense?). I don't feel that plugins give as good of an experience as native browser controls.

    --
    WhiteWolf666 an exBush supporter. All you new-school,compassionate,save the children Republicans can rot in hell
  16. You grossly misunderstand. by Ayanami+Rei · · Score: 4, Insightful

    Java (the VM), class libraries, etc. will still have the same distribution restrictions they always have (effectively none). But implementations of the VM, and changes to it, are now free for anyone to make, and integrate into projects that are GPL compatible.
    A static VM obtained from Sun will not require source distribution when included in your product, since Sun maintains that. So anyone using Java now won't notice the difference.

    It's open source, and there's no way it can be used AS THE BASIS of a 3rd-party product that isn't open source without Sun's permission, which is how they want it.

    Who loses? If you want sole modification/closed distribution rights, you can get a source license directly from Sun, just like you do right now.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  17. Re:w00t! by The_Wilschon · · Score: 5, Funny
    great! i'll believe it when it happens, though...
    And on Java Liberation Day, crow will be the main course!
    --
    SIGSEGV caught, terminating

    wait... not that kind of sig.
  18. Forking is an essential right by Wesley+Felter · · Score: 4, Insightful

    A no-forking license would not meet the Open Source Definition, so many developers would shun it. Forking provides an important check against mismanagement; some prominent projects have only survived due to forks (GCC comes to mind).

  19. Re:Too bad it's too late by pembo13 · · Score: 3, Interesting

    Well, just to speak to the otherside - I hate C#, and I think its more than the fact that I typically have to be on a Windows machine to code it. I very much dislike some of the design choices made - my point being that C# is one of those subjective things (IT didn't help that every tiem I go to the C# irc channel I get yelled at)

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
  20. Re:GPL'ing Java will kill it by ldspartan · · Score: 3, Interesting

    How do the linking restrictions of the GPL apply to Java bytecode that isn't (by default, without a custom classloader, 99%+ of the time... etc.) traditionally linked as we think of it in C/C++ (and most other languages)?

    For those of you not familiar with it, Java goes hunting for all code at runtime based on the fully qualified (package + class) class name, and resolves methods and fields based on name as well... the code that gets executed at runtime can be completely different than the code compiled against, so long as the method signatures match. That's the crappy, its 11pm and I'm watching the daily show version.

    So if I distribute my non-GPL binaries, and GPL'd libraries seperately, am I in violation? What if I use Java WebStart and the user's client downloads the GPL'd libraries from their distribution site? And if I just distribute my binaries and make the user hunt out the GPL'd libraries on their own?

    I'm honestly curious.

    --
    Phil

  21. Re:w00t! by Tim+C · · Score: 3, Insightful

    Yeah, I'd noticed that. Also, almost every article about MS is tagged fud, notfud, itsatrap and notatrap, most of the political articles are tagged fud and notfud. Nice to see I'm not the only one getting annoyed that people seem to be using tags as comments. Mind you, is it really surprising? The "editors" have been using the article summary to make comments for years.

  22. Huge impact on free operating systems by Schraegstrichpunkt · · Score: 3, Insightful

    If Sun releases both the Java VM, and (more importantly) the Java class libraries under the GPL, it will be huge, because important packages will now be able to include Java functionality out of the box

    Example: Distros can ship Firefox (a.k.a. Iceweasel/Firesomething/whatever) with a Java plugin. On every architecture. Running OpenBSD. And it'll be reliable, because weird OS-specific bugs will actually get fixed.

    Another example: Debian et al. can start shipping OpenOffice with Java support.

    If Sun plays its cards right, it will have eliminated the so-called Java trap, which can only serve to render Java more ubiquitous.

    That said, I'll believe it when it happens.

  23. Re:w00t! by leonmergen · · Score: 3, Funny

    Yeah, I'd noticed that. Also, almost every article about MS is tagged fud, notfud, itsatrap and notatrap, most of the political articles are tagged fud and notfud. Nice to see I'm not the only one getting annoyed that people seem to be using tags as comments. Mind you, is it really surprising?

    yes, no, maybe

    --
    - Leon Mergen
    http://www.solatis.com
  24. Re:w00t! by caluml · · Score: 4, Interesting

    It's better than wolfbagging. I'd never heard of it, and looked it up on Urban Dictionary - and wished I hadn't.