Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Sun Completes Java Core Tech Open-Sourcing

Posted by Zonk on Tue May 08, 2007 11:07 AM
from the the-beans-are-gratis dept.
MsManhattan writes "A year after announcing its plans, Sun Microsystems has made almost all of the core technology in Java available as open-source software under the GNU general public license version 2 (GPLv2). However, some of the code remains 'encumbered'; that is, Sun doesn't have sufficient rights to release it under GPLv2, and the company is requesting the open-source community's help in resolving these issues. Rich Sands, community marketing manager for OpenJDK community at Sun, would not say what percentage of Java's 6.5 million lines of code are encumbered, but explained that it is largely Java 2D graphics technology, such as font and graphics rasterizing."

Related Stories

[+] Developers: 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."
[+] Developers: 2007 Java Predictions 284 comments
jg21 writes "Java Developer's Journal has published the results of its end-of-year poll of various Internet technology players, from its own internal editors to industry high-ups like the founder of Apress, Gary Cornell, and including too the thoughts of professor Tony Wasserman of Carnegie Mellon West. Participants were asked to foretell what they saw happening in 2007. Among the predictions — Cornell: 'The open-sourcing of Java will have no effect whatsoever on Java's slow decline in favor of dynamic languages (Ruby, Python) and C#'; Wasserman: 'The use of the GPL 2 for open-sourcing Java will inhibit the completion and acceptance of the GPL 3 proposal'; and Rails creator David Heinemeier Hansson: 'The stigma of being a Web programmer still using Windows will increase.'"
[+] Developers: Sun Releases First GPLed Java Source 206 comments
An anonymous reader writes "You can now get GPLed JVM sources from Sun. Everyone seemed to be expecting the desktop version (J2SE) but J2ME has been released first. It looks to be buildable for Linux x86, MIPS, and ARM platforms. Sun now calls it 'phoneME.' Enjoy."
[+] Developers: 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."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • One word! (Score:1)

    by jshriverWVU (810740) on Tuesday May 08 2007, @11:09AM (#19038063)
    Woohooooooo! :) Now OpenSolaris
    • Re:One word! by Doctor Memory (Score:2) Tuesday May 08 2007, @11:41AM
    • Re:One word! (Score:5, Insightful)

      by eviltypeguy (521224) on Tuesday May 08 2007, @12:34PM (#19039285)
      OpenSolaris is open source and *free software* minus a few encumbered portions, just like Java. So I'm uncertain as to what you are referring to.
      [ Parent ]
      • Re:One word! by howlingmadhowie (Score:3) Tuesday May 08 2007, @01:39PM
        • Re:One word! by zootm (Score:2) Wednesday May 09 2007, @05:16AM
    • Re:One word! by ruffnsc (Score:1) Tuesday May 08 2007, @03:09PM
      • 1 reply beneath your current threshold.
    • 2 replies beneath your current threshold.
  • Rich Sands, community marketing manager for OpenJDK community at Sun, would not say what percentage of Java's 6.5 million lines of code are encumbered, but explained that it is largely Java 2D graphics technology, such as font and graphics rasterizing.

    In case anyone is wondering, this isn't much of a surprise to the Java community. When Sun was creating the latest and greatest Java libraries, they designed the APIs themselves to be generic. However, Sun generally licensed the underlying libraries for their reference implementation rather than developing them in-house. In the case of the Java2D APIs, they used code from Kodak to do all the fancy 2D rasterizations and transformations. This is why many Java coders thought that Sun's reference implementation would never be Open Sourced. (Happy to be wrong, BTW.)

    That code by itself could probably be replaced with a modern 2D rasterizer (similar to the types found in SVG and Canvas implementations), but it would need to be heavily overhauled to backport the VolatileImage support added in Java 1.4. (Basically, the JVM is able to manage the video card memory to store images for faster rendering and backbuffering.) I'm thinking that something OpenGL-based would be the best bet.

    However, that's not the only major library used. JavaSound also uses Dolby Headspace to render sound. It barely uses a fraction of the library's capabilities, but it would still need to be replaced. I don't know what was used for cryptography, but that would be replacable with a library like Bouncy Castle [bouncycastle.org].

    All in all, the final code shouldn't be too hard to replace as long as Open Source equivalents can be found. However, these areas *do* require significant expertise, so don't expect that joe random can jump in the code and make it happen.
  • by Anonymous Coward on Tuesday May 08 2007, @11:17AM (#19038179)
    Apache currently has many [apache.org] Java [apache.org]-based [apache.org] Apache 2 licensed [apache.org] projects. The Apache 2 license is incompatible with the GPLv2 [fsf.org].

    Does releasing Java under the GPLv2 effectively prevent the use of Apache 2 code (or any commercial code)? Does this mean that the only Java programs that can be used with the GPLv2 copy of Java are those under the GPLv2?
  • by grey1 (103890) on Tuesday May 08 2007, @11:25AM (#19038281)
    Saw the original suggestion last year and mentally wrote it off. Didn't think Sun would drive it through - the fact that it has happened with some areas still to be worked out (the libraries) impresses me the most.

    It'll be very interesting to see where this goes next... let's see if the open-source leveraging effect works in practice for something this big (and this awkward).
  • Being on the fence about using Linux and never really being sure what version, what build and what revision I should go for (hundreds of choices make it intimidating for newcomers to the Linux world), I've always been curious what would have happened if there was a board to approve the general direction, additions and revisions so that be it a platform or a programming language, the tangents wouldn't stray too far from the main group.

    FTA
    ---------
    Open sourcing Java represents one of the largest donations of code to the developer community, Sands said, but merely making software freely available is insufficient. "Open-source developers need to have rules and governance spelled out for them for how they use and interact with the code base," he added.

    With that in mind, Sun is establishing an OpenJDK interim governance board, which is to create a constitution and gain the community's approval for it over the coming year.
    ---------

    I hope that this 'board' approach will help the Java community stay closer together. I'm not being obtuse, I simply hope that the Java language doesn't take a wide turn in countless directions so that you need so many different libraries or new revisions that your programs can't keep up with the community's additions.

    All in all, I'm very pleased at this turn, I recall the proposal from last year and finally the wheel has turned towards us! Yay for Sun and good luck to all the Java community members! I look forward to sharing your new ideas with mine!
  • by Manchot (847225) on Tuesday May 08 2007, @11:42AM (#19038517)
    So, does this mean we'll see better integration of Firefox with Java now? Currently, if I go to a page and the browser freezes for about 15 seconds, I think to myself, "This page must have an applet."
  • The Sun Experiment (Score:5, Insightful)

    by krelian (525362) on Tuesday May 08 2007, @12:05PM (#19038845)
    (I posted this under the wrong story so I am copy pasting here....)

    I think most people in the F/OSS community don't see the importance of Sun's actions in the last couple of years regarding the economic viability of F/OSS.

    This is a company who opened sourced (or is open sourcing right now) a very large important and complex portfolio of it's software. It is also a company which is considered a major player in its field and a lot for these software products where successfully sold for big bucks in the past.

    F/OSS takes a lot of criticism regarding it economic model which most businessmen see as non existent. If Sun can pull it through and improve its financial results after making such a big commitment to F/OSS software, only than will the F/OSS community will have a winner in their hands to show off in front of skeptics. This is not the same as Red Hat who made a business out of F/OSS but a company which is rejecting the old ways of closed source and is taking a big gamble that F/OSS is not only the right thing to do morally, but that it can also become a better business model than closed source software.
  • Gnu classpath ? (Score:3, Interesting)

    by Salsaman (141471) on Tuesday May 08 2007, @12:09PM (#19038883)
    (http://lives.sourceforge.net/)
    Is there some reason why they (Sun Java) can't merge with GNU classpath ? It seems quite likely the latter would be able to provide all of the missing libraries, since they were working for many years on a free implementation of Java.
  • I am satisfied. (Score:2)

    by Qwavel (733416) on Tuesday May 08 2007, @12:15PM (#19038963)
    I am a c++ developer who doesn't really like C++, but has held back from switching for years.

    I've been very annoyed at and cynical about Sun's handling of Java. If Sun had opened Java years ago I would have switched (and I'd be much happier right now).

    Now, it's a bit late, but I am satisfied that they have finally done the right thing, in a real and full way. The remaining issues are understandable. Yes, they only did it because of competitive pressure, but I guess that's how it goes.

    I won't be switching to Java right away, but I think the opening of Java will be the decisive factor for me when it comes to my future personal technology decisions.
  • However, some of the code remains 'encumbered'; that is, Sun doesn't have sufficient rights to release it under GPLv2, and the company is requesting the open-source community's help in resolving these issues.

    Mozilla had the same issue when Netscape first released it. It's probably the single biggest reason why Mozilla development was held up for years. That may not happen here, but I find it worrisome.

  • by Anonymous Coward on Tuesday May 08 2007, @01:33PM (#19040277)
    Sun contributes a lot to Open Source and produces very interesting hardware. Thanks for Java, thanks for OOo (which I find to be a huge pig but then I also find MS Office to be a mega pig), thanks for OpenSolaris... And thanks to RMS for the GPL. It's good to see Sun choosing the GPL (with exceptions) as their open source Java licence.

    Trolls are already in the thread saying that OOo is unusable and that (Open)Solaris is the most insecure Unix ever. The trolliest of them all even dare to say that Java is a failure... On this last point nobody should be mistaken: Java is a langage and a VM whose success is beyond any language author's wildest dreams.

    As stated by James Gosling himself not long ago: it is basically impossible to do a financial transaction today without having Java involved at one point or another... And this is a Good Thing (TM) Why is the banking industry so in love with Java? The bullet-proof JVM and portability of the languages. Not a single language before Java had ever offered such an incredibly good VM running on so many different hardware/software configurations.

    There are countries where tens of millions of people are carrying "Java SmartCards" on them. More than 90% of all cellphones sold worldwide have a J2ME VM (agreed: not Java's most glorious example, but nearly 20% of all games sold worldwide are little Java games for cellphones sold to casual gamers... Food for thought to anyone dismissing J2ME).

    Java is a success that has grown beyond anyone's wildest imagination and it just keeps getting better and better. I was an very early Java believer (back in the days where it was really messy to do Java development on Linux) and back in the days there were many misconceptions regarding Java. Nowadays it's simply unexcusable to try to deny that Java is a huge success. Like COBOL today, Java will still be the technology making the real-world work in decades (insert your lame jokes about COBOL here... I personally laugh everytime some COBOL is involved when you're making a real-world transaction [and, yup, I've done COBOL programming]).

    Note that (contrarily to C#/.Net) "Java the language" and "Java the VM" have been chosen because they were very impressive technologies, not because the company creating them had a monopoly on a certain market. C# is a copy (7 years later or so) of "Java the language", with some things done better (thankfully, 7 years later, that they got some things right ;) and some others done worse (*). This is a testimony to Java's quality as a third-generation OOPL (I'm not saying that third-generation language are the be-all end-all of programming nor that OO is the be-all end-all of programming, but simply that as an 3rd generation OOPL Java is very good).

    Thanks Sun.

    (*) C# has then been basically forced down the throats of programmers locked in the MS monopoly. If C# hadn't Microsoft's illegally maintained monopoly (the "illegally maintained monopoly" is a fact, checks your facts if you disagree) backing it wouldn't be anywhere near where it is today.

  • Forget OpenSolaris! (Score:2, Interesting)

    by Dr. Smoove (1099425) on Tuesday May 08 2007, @02:10PM (#19040921)
    What about the poor folk like me running Linux on Sparc who can't use anything Java? Or some other architecture? Once this is complete it's going to be good for the non x86 Linux community.
  • Re:SUN and GPL (Score:5, Interesting)

    by LDoggg_ (659725) on Tuesday May 08 2007, @11:36AM (#19038435)
    (http://k12wincd.sourceforge.net/)
    No need to look the gift horse in the mouth here.

    Sun should be commended for this. It's not just a spec, but the best implementation avaialable.

    And don't forget, it's the same company that gave us open office.

    [ Parent ]
  • Actually, that's the wrong page. For some crazy reason that's incomprehensible to the average human being, Sun moved the code to a different page. See here:

    http://openjdk.java.net/ [java.net]

    You'll note that those downloads include all the core libraries that Sun promised to release. Why don't they redirect users looking at http://openjdk.dev.java.net/ [java.net] to that page? I have no idea, but there you go.
    [ Parent ]
  • Don't be so quick to condemn Sun. Open sourcing a gigantic project like Java takes time, especially since they don't own much of the code and needed to establish a governance model.

    You got the wrong link.

    This is the correct one:

    http://openjdk.java.net/ [java.net]

    I'm not sure why Sun didn't fix the other link, though, because it's clearly out of date.
    [ Parent ]
  • Re:SUN and GPL (Score:5, Funny)

    by TheRaven64 (641858) on Tuesday May 08 2007, @12:22PM (#19039091)
    (http://theravensnest.org/ | Last Journal: Sunday October 07, @07:05AM)
    Yeah, Sun sucks. They haven't contributed anything worthwhile to the community. Well, except OpenOffice. And that whole NFS thing. Oh, and OpenSolaris. Well, and Java now...

    I stand by companies like IBM. I'm running Open Source AIX here right now. Oh, wait...

    [ Parent ]
  • *cough* http://openjdk.java.net/ [java.net] *cough*

    The http://openjdk.dev.java.net [java.net] site is defunct.

    The important bits are all there, sans part of the Java2D and JavaSound implementation libs.

    [ Parent ]
  • Re:New Toy - Yay! (Score:2)

    by jobsagoodun (669748) on Tuesday May 08 2007, @02:00PM (#19040757)
    Yeah, I know, IHBT, but I currently work on a java project (shared with Subversion) on Eclipse variously in Slowlaris, Ubuntu, RHEL and Windows NT 2000 without issue. We also have devs for our graphic designers working with eclipse on Macs (powerPC & intel). The dream of write once, run anywhere seems pretty alive to me matey.
    [ Parent ]
  • 10 replies beneath your current threshold.