Slashdot Mirror


Sun Completes Java Core Tech Open-Sourcing

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."

141 comments

  1. One word! by jshriverWVU · · Score: 0

    Woohooooooo! :) Now OpenSolaris

    1. Re:One word! by Doctor+Memory · · Score: 1

      There's Nexenta, which is basically Debian on the OpenSolaris kernel. But you're right, it would be nice to have a completely unencumbered Solaris.

      --
      Just junk food for thought...
    2. Re:One word! by eviltypeguy · · Score: 4, Insightful

      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.

    3. Re:One word! by howlingmadhowie · · Score: 3, Informative

      there's been a rumour for quite a while now that sun will move solaris10 from the CDDL to GPL3 as soon as GPL3 is finished. (one should also mention that duke nukem forever will also be released under the GPL3 according to a similar rumour)

    4. Re:One word! by ruffnsc · · Score: 1

      Thats three words and some other characters but who is counting.

    5. Re:One word! by Anonymous Coward · · Score: 0

      ZFS!!!11 Das ist ze Zealot FS.[/sorry sun]

    6. Re:One word! by Anonymous Coward · · Score: 0

      who is counting.

      I dunno, just some lame ass kid
    7. Re:One word! by zootm · · Score: 1

      I'm fairly sure that Sun said that they decided against putting Solaris onto the GPL because they didn't see a benefit, and their userbase had said the same thing. I could be wrong, though.

    8. Re:One word! by Anonymous Coward · · Score: 0

      I think he's referring to licensing OpenSolaris under the GPL instead of just the CDDL.

  2. Not much of a surprise. by AKAImBatman · · Score: 5, Informative

    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.

    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.
    1. Re:Not much of a surprise. by AchiIIe · · Score: 5, Interesting

      I would love to help myself
      As a longtime java developer, and advocate of the open source java, I think it's time to put my time where my mouth is. Albeit a few questions:
      * Where is the effort being organised
      * Is there a list of the methods that need to be reimplemented?
      * Have I been tainted -- I've seen java code before, If I reimplement something and it might look like the previous code, how do I guard against this?
      * Can we make java better?

      --
      Nature journal lied in Britannica vs Wikipedia Ask to retrac
    2. Re:Not much of a surprise. by TheLazySci-FiAuthor · · Score: 2

      I agree, code replacement does seem to be the most reasonable way to resolve this issue. However I cannot help but feel that this would prematurely cause forking and general divergence from the original closed Java.

      Additional features and improvements are no doubt going to occur as the result of opening up the code base, but I feel that compatibility should be at the forefront of any design decision when Java is involved.

      After all, isn't the whole point of Java interoperability, and hardware agnosticism (generics and enforcement of general good design and coding practices aside)?

    3. Re:Not much of a surprise. by ciroknight · · Score: 2, Interesting

      Wouldn't Cairo (cairographics.org) be the perfect fit for a software 2D rasterizer? Might not be the fastest but it's there, it's usable, even Firefox is jumping on the boat.

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    4. Re:Not much of a surprise. by LWATCDR · · Score: 1

      And combine this with JGC and I will be a happy man.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    5. Re:Not much of a surprise. by thePowerOfGrayskull · · Score: 2, Funny

      I would love to help myself
      As a longtime java developer, and advocate of the open source java, I think it's time to put my time where my mouth is. Albeit a few questions:
      * Where is the effort being organised
      * Is there a list of the methods that need to be reimplemented?
      * Have I been tainted -- I've seen java code before, If I reimplement something and it might look like the previous code, how do I guard against this?
      * Can we make java better? It seems to me that java.sun.com is the place to start looking for these answers, and not slashdot ;)
    6. Re:Not much of a surprise. by AKAImBatman · · Score: 4, Informative

      * Where is the effort being organised

      https://openjdk.dev.java.net/

      * Is there a list of the methods that need to be reimplemented?

      I imagine that the Graphics2D class as well as the VolatileImage class need to be implemented. The BufferedImage implementation may need to be modified to obtain the "Automatic Image" behavior seen in the Sun JVM. Depending on how much Sun has withheld, you may need to implement the GraphicsEnvironment code as well. I recommend asking on the mailing list for specifics.

      * Have I been tainted -- I've seen java code before, If I reimplement something and it might look like the previous code, how do I guard against this?

      The "tainting" problem was always an OSS community invention based on Sun's license wording. As long as the code you've seen is in the OpenJDK, it's quite impossible for you to be "tainted" as Sun has given it to you under the terms of the GPL. Of course, you should always consult a lawyer for the latest in paranoid-protective behavior, but I sincerely doubt that Sun would try and sue you over something they just gave you.

      * Can we make java better?

      You can do whatever the GPL license allows you to do. However, I imagine that OpenJDK won't accept anything more than implementation enhancements. New APIs need to go through the JCP for standardization before they can be accepted into a mainline JDK distribution. Again, ask on the mailing list for more details.
    7. Re:Not much of a surprise. by pauljlucas · · Score: 0

      Can we make java better?
      Yes: add typedef to the language.
      --
      If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.
    8. Re:Not much of a surprise. by AKAImBatman · · Score: 4, Informative

      Update: Check here instead - http://openjdk.java.net/

    9. Re:Not much of a surprise. by EsbenMoseHansen · · Score: 1

      * Can we make java better?

      Making it stop throwing away type information (generics) would be very, very nice. This is imho one of the greatest current flaws in Java. I fear it will mean changing the JVM, though.

      In case anyone wonders: From the perspective of the JVM, List<String> is the same as List. If you can't see why this is bad, take a breath and think again. Think casts. Think interfaces.

      Besides this, I could make a very, very long wishlist for Java. Though I suppose I'd just end up with C++, minus the old annoying baggage.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    10. Re:Not much of a surprise. by Anonymous Coward · · Score: 0
      If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.

      I don't think you fully grasp how communication works. There are always assumptions and inferences. Otherwise you'd have to write a book in order to communicate a single idea.

    11. Re:Not much of a surprise. by mhall119 · · Score: 1

      Making it stop throwing away type information (generics) would be very, very nice. This is imho one of the greatest current flaws in Java. I fear it will mean changing the JVM, though.
      Which is exactly why Sun opted to make generics a compiler constraint, so that generified code would still run on older VMs. I agree though, that since Java 6 introduced changes to the bytecode, they could have included generic type information at that point.

      Besides this, I could make a very, very long wishlist for Java. Though I suppose I'd just end up with C++, minus the old annoying baggage.
      Isn't that an old saying? "Those who don't understand C are doomed to reinvent it"? Or maybe it was Lisp.
      --
      http://www.mhall119.com
    12. Re:Not much of a surprise. by heinousjay · · Score: 1

      I think the problem can be summed up more as "those who think C should be the only language will do everything in their power to denigrate everything else."

      Not as pithy, I'm aware.

      --
      Slashdot - where whining about luck is the new way to make the world you want.
    13. Re:Not much of a surprise. by aled · · Score: 1

      This is one of the needless request I ever seen for Java. What's next, NOP?

      --

      "I think this line is mostly filler"
    14. Re:Not much of a surprise. by myawn · · Score: 2, Informative
      I'm sitting in a JavaOne BOF right now where reification of generics (the fancy way of saying not throwing away type information) is being mentioned as a possible JDK 7 feature.

      There are some real compatibility issues in doing this (I remember Gilad Bracha covering this at a previous JavaOne), but it sounds like they are at least willing to take a look at it again.

      --
      Subscribers can see articles in the future? So what? Everyone gets to see them in the future.
    15. Re:Not much of a surprise. by MyIS · · Score: 1

      Meh. Even if there is an improper cast from a List to List, the JVM still won't break; it will just throw an error at access time instead of original cast time. Muddling up Java's clear and simple type system isn't worth it here.

      --
      http://zero-to-enterprise.blogspot.com/
    16. Re:Not much of a surprise. by EsbenMoseHansen · · Score: 1

      Making it stop throwing away type information (generics) would be very, very nice. This is imho one of the greatest current flaws in Java. I fear it will mean changing the JVM, though.
      Which is exactly why Sun opted to make generics a compiler constraint, so that generified code would still run on older VMs. I agree though, that since Java 6 introduced changes to the bytecode, they could have included generic type information at that point.

      Exactly. Throwing away type info is a major flaw. Practically speaking, Java is no longer typesafe, though you get warnings if you perform an unsupported operation. But that is like warning you that the dog bites rather than train it not to bite...

      Besides this, I could make a very, very long wishlist for Java. Though I suppose I'd just end up with C++, minus the old annoying baggage.
      Isn't that an old saying? "Those who don't understand C are doomed to reinvent it"? Or maybe it was Lisp.
      Perhaps Lisp, C is very simple (and a completely different game than C++). But perhaps you mean that it would be far better to work on a language that already have lots of the missing features implemented (like C++) or simply more advanced if yet somewhat incomplete (like Haskell). You might be right, then. It is just that I am forced to drag Java along like a block of concrete around my legs, and thus I hope (someone else) will fix some of the more glaring shortcomings. :)
      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    17. Re:Not much of a surprise. by EsbenMoseHansen · · Score: 1

      Meh. Even if there is an improper cast from a List<String> to List<Integer>, the JVM still won't break; it will just throw an error at access time instead of original cast time. Muddling up Java's clear and simple type system isn't worth it here.

      Yeah, why have compile-time types at all? Let's throw all that away, who needs it? You'll get a stacktrace if you encounter the bug while running. And overloading? Who ever needs to overload on a List<float> vs. List<int>, say? No need for that, we can just sample the elements to see if they are of one type or the other.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
  3. Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 2, Interesting

    Apache currently has many Java-based Apache 2 licensed projects. The Apache 2 license is incompatible with the GPLv2.

    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?

    1. Re:Serious question: Java, Apache 2, and GPLv2 by gedhrel · · Score: 2, Informative

      No, it doesn't. There was quite a deal of work that went into making sure that that was ok.

    2. Re:Serious question: Java, Apache 2, and GPLv2 by number6x · · Score: 1

      Apache should be able to continue to use the same license it is using now. The Apache 2 license takes a much stronger anti-patent stand than the GPL2, or even the GPL 3 license. This makes Apache 2 less compliant with other open source licenses.

      See the OP's link to FSF for more info

    3. Re:Serious question: Java, Apache 2, and GPLv2 by AKAImBatman · · Score: 4, Informative
      From the GPLv2, last published June 1991:

      If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.


      In addition:

      However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.


      The second part is tenuous given the wording, but could be made to apply given Java's attempt to be the execution platform. However, the former part carries far more weight. Programming to the Java specification does not imply that you are basing it on a GPLed version.
    4. Re:Serious question: Java, Apache 2, and GPLv2 by slack_prad · · Score: 3, Informative

      GCC is GPL, but my gcc compiled malware program is commercial software.

      --
      Sent from my desktop computer
    5. Re:Serious question: Java, Apache 2, and GPLv2 by mhall119 · · Score: 5, Informative

      I'm giving up mod points on this article, but given the amount of misinformation you're getting, its better that I post a reply.

      Sun isn't using GPLv2, they are using GPLv2 + the Classpath exception. This is a modification to the GPLv2 pioneered by the GNU Classpath project. It basically makes Java's code GPL, but doesn't require code running on the JVM, or using the J2SE libraries, to be GPLv2 complaint.

      Links here:
      http://www.sun.com/software/opensource/java/faq.js p#g5
      http://www.javalobby.org/java/forums/t84256.html
      http://en.wikipedia.org/wiki/GPL_linking_exception

      --
      http://www.mhall119.com
    6. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0

      Exactly! Thank you! Apache isn't distributing Sun's code. They are distributing their own code which they wrote themselves (which just happens to be written in Java.)

      Until recent years, pretty much all of the programming I did was compiled with closed-source commercial C++ compilers (MetroWerks CodeWarrior, MS Visual Studio) but I could distribute the source that I wrote however I wanted. Take Microsoft's Win32 API for example. I could distribute my own open source Windows app if I wanted but I couldn't zip up the Win32 headers and .lib files with the code I was releasing.

    7. Re:Serious question: Java, Apache 2, and GPLv2 by Constantine+XVI · · Score: 1

      Like everything else, the GPL2 only covers the code in question, not the input/output
      For example, Sony uses GCC in the PS3 devkits, yet there is not a single OSS game for the PS3
      If I write a paper in OpenOffice, the paper is not automagically GPL
      etc. etc.

      --
      "I think an etch-a-sketch with an ethernet port would beat IE7 in web standards compliance."
    8. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0
      Yes, it does. From the GPL FAQ:

      In an object-oriented language such as Java, if I use a class that is GPL'ed without modifying, and subclass it, in what way does the GPL affect the larger program?

      Subclassing is creating a derivative work. Therefore, the terms of the GPL affect the whole program where you create a subclass of a GPL'ed class.


      Every object in Java automatically subclasses java.lang.Object. According to the FSF, if you subclass a GPLed object (and, in Java, everything subclasses java.lang.Object), you have to follow the GPL.

      So, according to the FSF, if Sun releases the core Java libraries under the GPL, every Java program must use the GPL or be GPL compatible, since every Java program will subclass java.lang.Object. In practice, there are a number of Java core classes that are intended to be subclasses too, but subclassing java.lang.Object is unavoidable.
    9. Re:Serious question: Java, Apache 2, and GPLv2 by AKAImBatman · · Score: 1

      You don't know WTF you're talking about. If I go download the specification for Java from Sun, then code to that specification, have I agreed to the GPL? No. Therefore it is not binding, and the work is a completely separate work.

    10. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0

      Good lord, you're an idiot. How to explain this to you in simple terms. Hmm...

      Sun is releasing the Java libraries under the GPLv2. The article never really explicitly makes that clear, but given that they're talking about the Java2D library it should be deadly obvious that they're releasing the entire J2SE library under the GPLv2.

      That library includes the very core of Java, the java.lang package. Which will be licensed under the GPLv2. This includes, among other core language features, java.lang.Object.

      Every class in Java by definition subclasses java.lang.Object. (Except java.lang.Object itself, of course, but that's the only exception.)

      According to the FSF, subclassing any GPLv2 class requires the subclass to be under the terms of the GPLv2.

      So, quick overview:

      * All Java objects subclass java.lang.Object either directly or indirectly.
      * Under the GPLv2 version of Java, java.lang.Object is licensed under the GPLv2.
      * According to the FSF, subclassing a class that's licensed under the GPLv2 requires the subclass to be under the terms of the GPLv2 as it's a derivative work.

      So from there, we can conclude that every class that uses the GPLv2ed Java MUST be released under the GPLv2.

      Now, someone else mentioned the "classpath exception" which allows you to use GPLv2ed classes, but does not allow derivations based on these classes, which every Java class used will be, as every class in Java subclasses java.lang.Object.

      So the question remains: can Apache 2 code be used with the GPLed Java, and the answer is very clearly "no".

    11. Re:Serious question: Java, Apache 2, and GPLv2 by nevali · · Score: 1

      Sun is using the Classpath exception to specifically prevent this problem from occurring.

    12. Re:Serious question: Java, Apache 2, and GPLv2 by ciroknight · · Score: 1

      "malware program is commercial software." You admit you write malware, and use it commercially? On Slashdot? You are one brave soul. ;)

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    13. Re:Serious question: Java, Apache 2, and GPLv2 by AKAImBatman · · Score: 3, Insightful

      Sun is releasing the Java libraries under the GPLv2. The article never really explicitly makes that clear, but given that they're talking about the Java2D library it should be deadly obvious that they're releasing the entire J2SE library under the GPLv2.

      And? Whoopdie-fracking do. Let me see if I can translate this into idiot for you:

      Step 1: Go to http://java.sun.com/ and download a JDK.

      Step 2: Ask yourself, "Did I just agree to the GPL?"

      Step 3: Ponder the legal implications of never having agreed to the GPL, or in fact, having any GPLed code in your possession.

      Alternate:

      Step 1: Go to http://jcp.org/en/jsr/tech and find the Java API you're targetting.

      Step 2: Download the skeleton classes and use to create a program.

      Step 3: Ponder the legal implications of never having agreed to the GPL, or in fact, having any GPLed code in your possession.

      Just because Sun releases a version of the platform under the GPL does not automatically make the entire platform GPL. And in any case, the FSF interpretation of Java code has always been suspect anyway. Their interpretation of Java linking is flawed, and of dubious enforceability.

      However, this has always been more of an argument for the LGPL. If you develop with a GPLed version of a JDK, one could make a weak legal argue that you're extending the GPLed code in specific, and not the specification of the code. It would probably fail to hold up in court, but the possibility is there. Which is why the Classpath project issues this clarification of the license. It basically extends the OS exception to say that the Java classes are covered under similar terms. Not that it's legally necessary, as releasing the Classpath project cannot automatically make Java code fall under the GPL. But clarifies the position of using the Classpath library for development purposes. (Something which they couldn't enforce anyway.)

      Unsurprisingly, Sun has the same clarification for the GPLed code.
    14. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0

      GCC is GPL, but my gcc compiled malware program is commercial software.
      That's not quite an appropriate analogy, because Java is more than just a compiler. It's a virtual machine, and most importantly, it's also a huge number of standard libraries. Linking with GPL libraries normally means the software is GPL.

      That's not the case in this situation for a different reason, though, because the libraries have been excepted.

      (GCC also has an exception that its generated outputs aren't GPL, but that's also besides the point.)
    15. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0

      OK, so apparently everyone on this site are complete fucking morons, because what you've said shows a complete lack of even the most basic comprehension of what the thread is even talking about.

      The thread is not about whether you can write non-GPLv2 compatible Java code - anyone can figure out that if you could with the existing JRE, you can continue to use it. Not news.

      The thread is about whether or not you can use non-GPLv2 compatible code with the GPLv2ed JRE. The answer is an emphatic no . Why? Read on:

      Java is linked at runtime. According to the FSF, linking to a subclass at runtime counts as a derived work.

      The Classpath exception allows the use but not the derivation of Classpath-based code. Since subclassing counts as derivation at link time (again, according to FSF), and all Java objects derive from java.lang.Object, the end user simply may only run GPLv2 code on a GPLv2 JRE, which is what this entire thing is about.

      No Apache 2, as it's incompatible. No proprietary code for obvious reasons. The only code that can be used against a GPLv2 JRE is GPLv2 compatibly licensed code, because at runtime all Java classes are derived from java.lang.Object.

      This is as simple as I can make it:

      1. Classes subclassed from GPLv2 classes must be GPLv2 compatibly licensed.
      2. All classes in Java subclasses java.lang.Object.
      3. All classes in Java are linked at runtime.
      4. Linking at runtime creates a derivative work.

      Therefore, based on those four facts, a GPLv2 JRE may only run GPLv2 compatibly licensed code.

      The classpath exception allows the runtime linking, but, and this is the most important part, does not all derivative works based on the GPLv2 code.

      A GPLv2 JRE can only run GPLv2 compatible code.

      Period.

      The fact that a non-GPLv2 JRE can run non-GPLv2 compatible code is completely and entirely irrelevant to using the GPLv2 JRE.

    16. Re:Serious question: Java, Apache 2, and GPLv2 by AKAImBatman · · Score: 1
      Oh look, he's back to spread more stupidity.

      The thread is about whether or not you can use non-GPLv2 compatible code with the GPLv2ed JRE. The answer is an emphatic no. Therefore, based on those four facts, a GPLv2 JRE may only run GPLv2 compatibly licensed code.

      So what you're telling me is that if Joe gives Bob a Java program, and Bob then decides to run it using a GPLed JVM, Bob is in BIG TROUBLE if that program isn't GPLed?

      Wow. Your legal theorez just blewz meez mind, man. I think I'll have to take a few tokes on the ole' weed here to catch up with such profound logic. I mean, that's just incredible stuff. All this time I thought that the end user wasn't subject to the GPL unless he modified the code or redistributed the package! (Paragraph 5) Dudez, I jus' went totally NEO on your azzes!

      Moron.
    17. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 1, Informative

      Java is linked at runtime. According to the FSF, linking to a subclass at runtime counts as a derived work. They can say that all they like, but it's provably false.

      How can you create a derivative work of a piece of GPLed source if you've never seen that source?
      The same with the binary.

      If I develop a J2SE application now, on Sun's current non GPL Java, and then later run it with a GPLd version, I have no more created a derivative work of the GPLed version than my music collection sitting on the shelf constitutes a derivative work of all the CDs in it.
      use is not derivation, and is not copyright infringement, so no license is required, so the GPL does not apply, no matter what the FAQ says.
      The GPL is a distribution license, not an EUL.
    18. Re:Serious question: Java, Apache 2, and GPLv2 by mabinogi · · Score: 1

      Java is linked at runtime. According to the FSF, linking to a subclass at runtime counts as a derived work. That only shows that the FSF has no idea how java works, either that, or you've misunderstood them.
      Sure, at an abstract conceptual level a subclass is a derivative - that's the point, after all. But copyright doesn't apply to the abstract idea of a "class", it applies to the actual creation put down in tangible form - that is, the source code and the resulting binary from compilation.
      If you're not distributing the binary or the source, and you never used a line of the source in your work, copyright doesn't even apply to you, so the GPL is irrelevant.
      --
      Advanced users are users too!
    19. Re:Serious question: Java, Apache 2, and GPLv2 by lpontiac · · Score: 2, Informative

      The OO concept of "derivation" is not the same as the legal concept of a derived work, even though they use the same English word.

      Furthermore, the GPL covers distribution, not use.

    20. Re:Serious question: Java, Apache 2, and GPLv2 by alphamugwump · · Score: 1

      Linking to a shared library written in C at runtime definitely counts as a "derived work" under the GPL. That's why I can't write a closed source app in Qt without paying Trolltech, as Qt is GPLed. This is _no_ different from Java. The only difference with Java is that it packages the interface for the shared library with the library itself. It's like tarring a C header to a shared library, except it's Java. Whether you use inheritance or whether you use method calls makes no difference. You're still linking to a library.

      However: just because Java _can_ be licensed under the GPL does not mean that it _must_ be licensed under the GPL. It can also be licensed under Sun's Special License(tm). And Sun's license lets you link to it all you want. Just like how, if I pay Trolltech, I can link to QT all I want. Because, of course, the GPL is not an agreement between a corporation and some nebulous community. It's an agreement between the licensee and the holder of the copyright. The licensee is free to pursue a different (non GPL) contract with the copyright holder.

    21. Re:Serious question: Java, Apache 2, and GPLv2 by Anonymous Coward · · Score: 0

      Following this logic (and the logic of a lot of other posts around here,) there is no such thing as closed-source commercial software in the Java world because everything written in Java inherits from Object, is compiled with a GPL compiler and runs on a GPL JVM. What a retarded thread.

      - Inheriting from Object is implicit.
      - A program's output (byte code output by a compiler in this case) isn't automatically licensed in the same way as the program that generated it. If it were, I would have a lot of OpenOffice documents that were GPL'd.
      - Software doesn't automatically take on the license of the platform it is run on either. If that last one were true, I could run a copy of Windows in a GPL-licensed x86 emulator and that would make it GPL'd too. Sun's JVM isn't the only show in town either. There are many 3rd party commercial JVM's.

  4. Wow, it's really happened by grey1 · · Score: 1

    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).

    --
    "we demand rigidly defined areas of doubt and uncertainty!"
  5. I look forward to this new approach... by EvilGrin5000 · · Score: 1

    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!

    --
    A black cat crossing your path signifies that the animal is going somewhere. -- Groucho Marx
    1. Re:I look forward to this new approach... by mhall119 · · Score: 1

      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.

      It's called the Linux Standard Base
      --
      http://www.mhall119.com
    2. Re:I look forward to this new approach... by rubycodez · · Score: 1

      Being on the fence about using Linux and never really being sure what version

      The number of GNU/Linux desktops running Ubuntu is now one in three and still growing, couldn't do too badly to jump on that bandwagon if only to give it a try.

      Sands: " Open-source developers need to have rules and governance spelled out for them" But maybe not by Sun. The community might choose another group to lead them, especially since Sun hasn't taken the time to build free alternatives to important Sun java libraries. Just saying it's possible that omission might bite them.

    3. Re:I look forward to this new approach... by Anonymous Coward · · Score: 0

      "(hundreds of choices make it intimidating for newcomers to the Linux world)"

      Please, don't tell me you've fallen for the line of claptrap put out by the FUD-amentalist Church of PCLinuxOS. Any distro in Distrowatch's top ten will be just fine for a new-comer. Download it, burn it, boot it, if you don't like it, toss it and try another. The big distros all have package management, so you can remove/add programs how you want, and the installed programs are the only real difference between the major distros anyway.

      It's like picking toothpaste from all the brands at the store, only it doesn't cost money and you don't get cavities for choosing "wrong".

  6. Re:SUN and GPL by LDoggg_ · · Score: 4, Interesting

    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.

    --

    "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
  7. Better Firefox integration? by Manchot · · Score: 1

    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."

    1. Re:Better Firefox integration? by AKAImBatman · · Score: 2, Insightful

      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."

      That's caused by the JVM startup. The pause can be nearly eliminated by starting the JVM with the browser. Of course, that slows the browser startup and holds onto memory needlessly. So I doubt anyone is going to bother doing that for a dead technology. (i.e. Applets)
    2. Re:Better Firefox integration? by kestasjk · · Score: 1

      Firefox supports Java just fine. If you get a delay when you see a Java applet it's probably because Java isn't loaded into memory.

      --
      // MD_Update(&m,buf,j);
    3. Re:Better Firefox integration? by Chandon+Seldon · · Score: 1

      With Java being open sourced, I have an odd feeling that applets may have been resurrected as a Flash/Silverlight competitor.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    4. Re:Better Firefox integration? by ajs318 · · Score: 1

      If Ubuntu make good and include a GPL Java interpreter as standard, then that's not at all unlikely. It would take some special classes for implementing playback, is all. You could embed a movie, as a literal, right into a Java player-applet .....

      --
      Je fume. Tu fumes. Nous fûmes!
    5. Re:Better Firefox integration? by Hatta · · Score: 1

      Of course, if you're not using the JVM it's swapped out and not really using any RAM.

      --
      Give me Classic Slashdot or give me death!
    6. Re:Better Firefox integration? by sveinungkv · · Score: 2, Informative

      Not to mention JavaFX. It is even to convert Flash files to it.

      --
      Spelling/grammar nazis welcome (English is not my first language and I am trying to improve my spelling/grammar)
  8. I'm getting tired of this by nanosquid · · Score: 0

    What's being open sourced is this (see https://openjdk.dev.java.net/):

      Today this project contains two significant components of the JDK:

            * The HotSpot Virtual Machine
            * The Java programming-language compiler (javac),
                with complete NetBeans project metadata

    There are several high performance virtual machines and compilers for Java already, so this doesn't really make much difference to anybody.

    The parts that matter are the libraries and the specifications. But there are lots of open questions about those. Are they going to be GPL with or without linking exception? What parts are actually going to be missing? Does Sun claim patent rights (creating a Novell/Microsoft-like situation)? What's the effect of Sun's dual licensing? How is Sun going to get community development working if they still have a commercial license? Is Sun going to require copyright assignments?

    I'm getting pretty tired of the way this stuff is dribbling out of Sun and the kinds of games Sun seems to be playing with licenses. I've removed Sun Java from my Linux system; gcj, Classpath, and IKVM work fine.

    1. Re:I'm getting tired of this by AKAImBatman · · Score: 2, Informative

      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/

      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/ to that page? I have no idea, but there you go.

    2. Re:I'm getting tired of this by DragonWriter · · Score: 1

      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?


      Its very easy to end up in various dead-end parts of Sun's web presence: I've run into lots of old links to zombie Sun webpages that were still up even though outdated and replaced by updated pages at different addresses.
    3. Re:I'm getting tired of this by nanosquid · · Score: 1

      You'll note that those downloads include all the core libraries that Sun promised to release.

      OK, here's the deal.

      Sun's announcement doesn't talk about including the Java libraries.

      Sun's Subversion repository contains none of those libraries in an identifiable place (https://openjdk.dev.java.net/source/browse/openjd k/).

      But, after downloading the source zip file and grepping, it turns out there is a lot more stuff in the zip file than in any of the other places. For example, there is actually Swing with a Classpath exception.

      Good, that makes the release a lot more real and meaningful. Sun really needs to clean up their act in how they release and communicate things. And I still don't trust them any more than I trust Microsoft.

  9. The Sun Experiment by krelian · · Score: 5, Insightful

    (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.

    1. Re:The Sun Experiment by Anonymous Coward · · Score: 0

      If Java is freely available now and will (obviously) continue to be once it is open-sourced, I'm not sure how that is going to prove the open source development model as a good business model any more than any other open source project. I see how Java can be an important building block for profitable products and services but for Sun, Java is something else to maintain. Open sourcing Java has a lot of benefits but I would argue that most businesses don't have such a "two tiered" business like that where the community could take over the lower level and the company is still left to reap the benefit in other ways. If I'm a company that pays the bills by selling a software package and I make that software open source, what am I really left with when people can just download my product for free. I feel like people have an overly romantic view of OSS. Open source makes an awful lot of since in many cases but not all. Do you really want to voluntarily join an OSS project to develop business software for Joe's Hinge Company in BFE?

    2. Re:The Sun Experiment by nanosquid · · Score: 1

      F/OSS takes a lot of criticism regarding it economic model which most businessmen see as non existent

      That's based on a misunderstanding. FOSS is enormously valuable to businesses, but not as a "business model" in the sense of earning money. FOSS is about collaborative development by end users for the purpose of reducing risk and costs.

      But Sun isn't an end user. They reduce neither their risks nor their costs by open sourcing Java, which raises the question: why is Sun doing this?

      I think there are several answers:

      -- Sun has always been primarily a hardware company.

      -- Sun does retain proprietary rights, and they are using open sourcing as a way of getting attention and maybe more licensees.

      -- Java and Solaris are under siege from a variety of other technologies and have been losing ground; this may be a last ditch attempt to try to make them more relevant again.

      -- Sun customers are getting worried that Java and Solaris are at risk if Sun gets acquired.

      F/OSS is not only the right thing to do morally

      I think claims by any company that they are doing FOSS for "moral" reasons should be viewed as highly suspicious.

    3. Re:The Sun Experiment by sproketboy · · Score: 1

      I don't know about Solaris but Java is definitely not losing ground. #1 language by any measure.

    4. Re:The Sun Experiment by Anonymous Coward · · Score: 0

      I don't know about Solaris but Java is definitely not losing ground. #1 language by any measure.

      Java is big, but I think C/C++ is still bigger. And unlike C/C++, Java is big really only in a few areas, and there are huge, important areas of programming where it isn't even making a dent.

    5. Re:The Sun Experiment by petermgreen · · Score: 1

      #1 language by any measure.
      bullshit there are plenty of measurements by which it loses. For example if you count in terms of the total number of processors running stuff written in a language C and C++ would probablly win by far.

      java applets have almost completely lost the in browser apps market to flash and ajax (a posh name for javascript/dom based coding that uses the network)

      java applications never really took of in either the commercial or opensource desktop software markets (there are notable exceptions such as azerus and eclipse though neither of those is pure java in the sense of being able to run on any system that implements the standard java libraries. Both use a 3rd party windowing toolkit that uses custom native code).

      java does do well in some areas such as internal buisness apps (where development cost is considered more important than being nice to use as the users get no say in the matter), complex server side stuff (where startup and jit times can be amortised over a lot of users and the protection of the system from mediocre programmers is a big plus) and smartphones (where the phone manufacturers won't let you use anything else)

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    6. Re:The Sun Experiment by Anonymous Coward · · Score: 0

      Sun is taking the long-term view. In the short term they can charge for Java or Solaris or ZFS or whatever and make a little bit of money. In the long term, they get more sales from people in the industry that *like* Sun and *want* to buy their hardware... even if it is a 'little' bit more expensive or quicky or whatever (I'm not saying it is).

    7. Re:The Sun Experiment by LizardKing · · Score: 1

      java applications never really took of in either the commercial or opensource desktop software markets

      Now you're talking bull. Search on the major IT job advertising websites by language, and you'll notice that there is a massive demand for Java programmers. Not only to work on J2EE web related stuff, but Swing based applications, particularly for banks. C# and .Net have started to eat into this market to some extent, but there's a serious amount of Java code that would have to be ported or thrown away and keeps some people from moving to MicroSofts alternative. Having just been through a round of job interviews, it's also clear that C++ and Perl are not as widley used as they were thanks to Java. The performance is close enough to C++ that it's no longer an issue, while the tools, best practices and documentation mean that Java development are far less of a gamble than Perl.

    8. Re:The Sun Experiment by petermgreen · · Score: 1

      sorry when i said commercial software i meant software where copies are sold to users.

      i don't dispute that java is very common in the custom internal apps which users will be forced to use market

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    9. Re:The Sun Experiment by Anonymous Coward · · Score: 0

      There are much more jobs for Java than for C++

    10. Re:The Sun Experiment by mdm42 · · Score: 1

      "a last ditch attempt"?

      I can emphatically assure you not! I know for fact that discussion on open-sourcing (at least) Solaris has been under intense internal debate within Sun for at least nine years, Java perhaps slightly less, but still a long time. This has not been some snap decision by the powers that be in Sun; it has been a long, intensive, often painful, wrangle.

      And No! I don't work for Sun -- just happen to have known and worked with a few key people in within Sun at fortuitous points in time.

      --
      New mod option wanted: -1 DrunkenRambling
  10. Gnu classpath ? by Salsaman · · Score: 2, Interesting

    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.

    1. Re:Gnu classpath ? by deKernel · · Score: 0

      My best guess here as to why Sun doesn't do it themselves is that there engineers have been 'tainted' with the encumbered code: they have seen the code. This is why companies like IBM and such put up walls between the AIX and Linux teams.

    2. Re:Gnu classpath ? by Salsaman · · Score: 1

      That's exactly my point. They should hire some of the classpath guys, and then they'd have a clean-room implementation ready for use.

    3. Re:Gnu classpath ? by mhall119 · · Score: 3, Insightful

      Because it is much easier for Sun to just release 90% of their code under the same license used by GNU Classpath, then let the classpath guys, or anyone else in the community, figure out what of that missing 10% can be filled in with Classpath code.

      --
      http://www.mhall119.com
    4. Re:Gnu classpath ? by rabbit78 · · Score: 3, Informative

      Speaking as one of the GNU Classpath developers, I agree with that idea. However, there are some issues to be worked out, like the ownership of the code. GNU Classpath's code is copyrighted by the FSF and Sun's code is copyrighted by Sun. Both organizations require that contributors sign a copyright agreement before accepting code. I don't know about details, but I guess Sun and the FSF would have to arrange something before such a thing could happen. Luckily, Dalibor Topic, also a Classpath developer, is in the interim board, and I hope that this would help to arrange for the two projects to merge in some way. OTOH, I and my friends at Classpath will look into the encumbered areas and see how we can help out with the missing pieces.

    5. Re:Gnu classpath ? by Anonymous Coward · · Score: 0

      I'd rather have the GNU Classpath project donate the missing peices. The Sun code has been much more thoroughly tested and can be trusted in a production environment. I don't believe GNU Classpath has earned that level of trust, yet. I'm glad you guys aren't getting caught up with egos and are looking to work together!

  11. I am satisfied. by Qwavel · · Score: 1

    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.

    1. Re:I am satisfied. by Anonymous Coward · · Score: 0

      I am a c++ developer who doesn't really like C++, but has held back from switching for years.
      So why havent you been coding in BASIC? As long as you don't use platform specific PEEKS and POKES your application(s) should run on multiple platforms just fine. When was the first time your C++ program ran on a mobile phone?


      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).

      So how critical were you when C/C++ (AT&T) came out? You don't link your programs much with the WIN32 or KDE libs do you? As a developer I'm sure you were aware that GNU/IBM/HP all have seperate java SDKs to work with outside of influence from SUN.

      Is this a subtle troll or do you just lack knowledge on the subject?

    2. Re:I am satisfied. by Qwavel · · Score: 1

      Basic? I'm not sure I understand. Why should I like BASIC just because I don't like C++ much?

      I wasn't around when C++ came out.

      Regarding the other SDK's - there are alternatives to many closed software products/platforms, but I still care what the official owner does. I'm not going to consider Mono and ignore the fact that it is really MS that owns C#, nor am I going to consider GNU Java without taking into account that it is Sun that primarily determines what happens with Java.

  12. and it's been like that for YEARS by QuantumG · · Score: 1

    Why Sun never recognized this as a problem and did something about it, like working with browser makers to pre-load the JVM, I don't know.

    It's the no1 reason why Applets died.. and because of that we had to wait until the Javascript/XML fightback to get Web 2.0.

    Is this just another example of corporate culture getting in the way of seeing reality?

    --
    How we know is more important than what we know.
    1. Re:and it's been like that for YEARS by Anonymous Coward · · Score: 0

      Why pre-load the JVM when you might not need it? Talk about bloat. How about just use place holders and load it in the background like they do images?

    2. Re:and it's been like that for YEARS by QuantumG · · Score: 1

      Because it takes too long.

      Really, the JVM does not take a lot of memory to pre-load.. that argument is just premature optimization.

      --
      How we know is more important than what we know.
    3. Re:and it's been like that for YEARS by Anonymous Coward · · Score: 0

      Hah, for YEARS! Do I hear the name Netscape coined in your post? My gosh, I had a deja vu when I read GP: Netscape crashes on Java!

  13. openjdk.java.net (was I'm getting tired of this) by javacowboy · · Score: 1

    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/

    I'm not sure why Sun didn't fix the other link, though, because it's clearly out of date.

    --
    This space left intentionally blank.
  14. Re:SUN and GPL by TheRaven64 · · Score: 5, Funny
    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...

    --
    I am TheRaven on Soylent News
  15. Re:SUN and GPL by zero_offset · · Score: 0, Flamebait

    It's not just a spec, but the best implementation available now that Microsoft has stopped writing JVMs.

    Fixed.

    (Been awhile since we had a Karma fire.)

    --

    Slashdot quality declines as the number of hot grits posts decreases. - Provolt's Law, Apr-09-2005

  16. Mozilla Had the Same Problem by hardburn · · Score: 1

    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.

    --
    Not a typewriter
    1. Re:Mozilla Had the Same Problem by KarmaMB84 · · Score: 2, Insightful

      Aside from scrapping nearly the entire Netscape codebase and starting over?

    2. Re:Mozilla Had the Same Problem by Ambidisastrous · · Score: 1

      As I understood it, the portion of code Netscape open-sourced didn't really even compile into a browser. Netscape was in the middle of rewriting all their own stuff in Java (of all things) already, so the codebase was incomplete and neglected. Mozilla managed to extract Bugzilla and some other interesting stuff, but they did not throw away a functioning browser implementation; they cannibalized a mostly abandoned codebase and used what they thought they could.

      Food for thought: Imagine how different it would be if Netscape had been written in Lisp, with Lisp naturally also replacing Javascript as the extension language. (Or, slightly more realistically, if Smalltalk had won out over Java, with similar results.) Discuss.

  17. Re:SUN and GPL by LDoggg_ · · Score: 1

    Yeah, that 1.14 JVM with windows-only hooks kicked ass.

    ...and to think Sun only needed a 2 billion dollar apology for it.

    --

    "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
  18. Re:SUN and GPL by HiThere · · Score: 1

    Well, it's been a long time since I used an MS "jvm" implementation. I didn't find it superior, or even as good. Perhaps it depends on what you are doing.

    P.S.: I put jvm in quotes when referring to the MS version, as I found it not standard-compliant. Admittedly that was in the VERY early days. (I did rather like SuperCede Java compiler, which also was non-standard. One difference is that they didn't try to pretend that it was. Another is that is was EASY [i.e., trivial] to blend Java and C.)

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  19. Hardware? by Anonymous Coward · · Score: 0

    I hope the software gets the community support it deserves.

    http://www.arm.com/products/esd/jazelle_architectu re.html
    What's the strategy for if other vendors begin to offer hardware support?

    Last time I checked support was considered an encumberence by one or other party and removed from Hotspot.

    It would be nice to test the possibilities of the hardware in some open source NAS device conversions (if possible).

  20. Wrong priorities by Anonymous Coward · · Score: 0

    Java is a pile of rubbish made by executives for executives with the purpose of making money during the bubble. If the same efforts were directed into pushing for free device drivers for, say, nVidia cards, that would be a great achievement.
    The one and only positive effect of having Java free will be the bigger threat it will represent for the Microsoft edition of the pile of rubbish (aka: .NET).

  21. Re:SUN and GPL by swillden · · Score: 1

    It's not just a spec, but the best implementation available now that Microsoft has stopped writing JVMs.

    I disagree. I think Sun's implementation is considerably superior to anything Microsoft produced. If you want to qualify it, I'd qualify it with "the best implementation available for general-purpose platforms". For embedded stuff IBM's J9 is much better and Sun's JVM is absolutely unusable for very small devices, like smart cards.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  22. Help out with Harmony by jaaron · · Score: 1

    You could always help out with Apache Harmony to create a full, open sourced JVM!

    --
    Who said Freedom was Fair?
    1. Re:Help out with Harmony by Bert64 · · Score: 3, Insightful

      But why? Sun's JVM is much closer to completion, and also open source.
      Why not get one open source JVM working first, and work on others later?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Help out with Harmony by Anonymous Coward · · Score: 0

      Once the few parts of the Sun JVM are rewritten, the Sun JVM will be a full, open source JVM... The Sun JVM is also much, much faster and has gone through many years of testing. Why bother with Harmony when you could help out with the few parts of the Sun JVM that need to be rewritten?

  23. New Toy - Yay by Anonymous Coward · · Score: 0

    Yet another toy programming language open sourced.

    Now, instead of a 'standard' broken toy programming language, we can have hundreds or forks and patches for the broken, 'standard' toy programming lanugage.

    Everyone and their dog will rewrite portions that they don't like, none of it will be standard, and in true 'javadoc' fashion, there will be almost no documentation.

    Face it, java is a nice toy, for those who can't afford a real compiler. The dream of 'write once , run anywhere' is just that, a dream.

  24. Re:it's just HotSpot and javac by AKAImBatman · · Score: 3, Informative

    *cough* http://openjdk.java.net/ *cough*

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

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

  25. Re:SUN and GPL by Anonymous Coward · · Score: 0

    *ahem* The name is OpenOffice.org .

  26. Philosophy of exception: usage IS NOT derivation by Anonymous Coward · · Score: 2, Interesting
    Since you understand the Classpath exception well, you might be interested in an alternative explanation we've devised, which is both simple and exact.

    For elements licensed under the Classpath exception,

    USAGE of an element by linking does not imply derivation from that element.

    It's this key consequence of the exception that makes it so excellent.

    Nobody who is moderately sane thinks that when we use a car then the car-driver combination is a derived work of the car, and that therefore the copyrights covering the car must also cover the driver. Yet, that was the insane worldview of a few in the community who were adamant that simple usage was derivation and therefore engaged the copyright. The Classpath exception makes it certain that this cannot happen.

    The exception is a bit of a miracle, I'm not sure how we managed to get it past the GPL politicians. :-) But I'm glad it got through, and restored some basic commonsense.
  27. Re:Philosophy of exception: usage IS NOT derivatio by mhall119 · · Score: 2, Informative

    The term "linking" has actually caused a lot of confusion due to the difference between how Java links to libraries as opposed to C/C++. For C/C++, linking is much closer to a derivative work than in Java since (to my knowledge, I'm not a C programmer) when you "link" to a C/C++ library, you actually need the source code (or at least header files) from that library in order to compile your code, therefore including elements of that library's source in your final binary. In Java, you can "link" your code to a library's binary without including anything from it's source.

    --
    http://www.mhall119.com
  28. Thank you Sun and thank you RMS for the GPL by Anonymous Coward · · Score: 4, Insightful

    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.

    1. Re:Thank you Sun and thank you RMS for the GPL by hughk · · Score: 1

      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...

      No, I know at least one major bank where the retail banking system is written in Assembler. It just works and handles an incredibly large number of transactions. I know of exchanges where the backend is written in a mixture of C++/C & COBOL all the way through to the client APIs. You *can* use a Java based GUI on the system, but you could also use any other language. Yes, quite a lot of banking is still Java free. The problem is that the idiots who brought in Java too early are now trying to do the same with C#.

      --
      See my journal, I write things there
    2. Re:Thank you Sun and thank you RMS for the GPL by SenseiLeNoir · · Score: 1

      Very well written, and I personally agree with a lot of what you said.

      I also want to add a few more things which you have missed.

      Java is also part of the Blue-Ray Specification, with Java being used to create some of the more interactive Elements.

      Also here in Europe, Java is used in the MHEG DVB specifications, as well as new iterations of DAB.

      Recently, there has also been some work in creating emulators for other platforms using Java. However, they are not emulators, in the strict sense, as the native code is converted to Java bytecode, and then run directly on the JVM using a "container" to abstract other parts of the platform being emulated. This allows the JVM to then further JIT the bytecode, and has the possibility of running emulated software at almost native speeds. A proof of concept has been done to have DOS/8086 emulated in such a way.

      So yes, Java has a lot going for it.

      --
      Have a nice day!
  29. Re:SUN and GPL by Anonymous Coward · · Score: 0

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

    Aw hell. That probably means it has its own GUI toolkit. And it's written in C++. And maybe it even depends on Java.

  30. Re:Philosophy of exception: usage IS NOT derivatio by ajs318 · · Score: 1

    It's important because when you call a non-GPL library from a GPL program, or a GPL library from a non-GPL program, the combination (program + library) in the memory of the computer could be considered a derived work of both components.

    It's also irrelevant, because making a copy of a computer program in memory, from a source which does not infringe copyright in and of itself (e.g. an original CD that you rightfully own) and for the purpose of running the program, is explicitly permitted by copyright law -- it falls within the scope of Fair Dealing. Otherwise you might be denied the use of something that you had bought and paid for; which would certainly run afoul of the Sale of Goods Act 1979 as amended and/or the Unfair Contract Terms Act 1977 as amended.

    --
    Je fume. Tu fumes. Nous fûmes!
  31. Re:New Toy - Yay! by jobsagoodun · · Score: 1

    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.

  32. Re:New Toy - Yay! by jobsagoodun · · Score: 1

    & the Java (on WebSphere) transaction system connected to this processes around a billion transactions per year. Some fricking toy.

  33. Forget OpenSolaris! by Dr.+Smoove · · Score: 2, Interesting

    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.

    --
    "If you plant ice, you're gonna harvest wind."
    1. Re:Forget OpenSolaris! by chromatic · · Score: 1

      Finally, Java might be cross-platform after all!

    2. Re:Forget OpenSolaris! by jaiger · · Score: 1

      I use Kaffe (http://kaffe.org) on my Debian Sparc Linux system(s) with OK results. I use the version packaged for etch.

      Sure it has limitations:
      - it's not up to JDK 1.5+ levels for compatibility
      - performance *seems* slow but I haven't compared with Solaris+Sun-JDK on same hardware yet

      I wouldn't say "can't use anything Java" though.

      -Joe

    3. Re:Forget OpenSolaris! by Anonymous Coward · · Score: 0

      Yeah, on Linux/Sparc there's the ancient Blackdown Java 1.4.1 and that's about as usable as it gets. Blackdown claim to be working on 1.5 for Sparc but the status page has said that for a very long time, and I doubt they'll bother finishing it in light of these changes.

      I have a Netra T1, and it's pretty annoying / stupid that I can't run a modern Java on Sun's own hardware, especially as I was using it as a freenet server. I considered installing Solaris, but it turns out that doing that on a headless / optical-drive-less server without an existing Sun machine to bootstrap from is a barely documented huge PITA. A working, Free Java 6 will be a great improvement.

    4. Re:Forget OpenSolaris! by Dr.+Smoove · · Score: 1

      On my Sun Blade 2000, Debian wasn't up to a version that had a compatible SILO apparently. Gentoo was the only one that worked. Haven't tried Debian 4 yet, which I presume works with a newer version of SILO now. Another issue was Flash. I wasn't aware of anything I could do about that. I was aware of an implementation like you had described, but was told it didn't really 'work.' Ah well I've decided to sell off my Sun Blade 2000, put it on craigslist. Too many bills and I need a good intel machine for play and work.

      --
      "If you plant ice, you're gonna harvest wind."
    5. Re:Forget OpenSolaris! by jaiger · · Score: 1

      My systems are Ultra10s and a Netra T1 100. I've installed Debian sarge and etch on them. I mostly use them as server systems really so Flash and other desktop features are not so useful to me. Kaffe does have compatibility limitations but you can get it to work for a lot of applications. I was impressed that Tomcat and my webapps mostly work. I keep my needs modest at Java 1.4.x code and it largely works.

      The most annoying feature is I found Kaffe on sparc linux to be much slower than my sun jdk on intel linux. I just installed Solaris Express on another Ultra10 the other day. It comes with jdk 1.6 so I'm planning to run some speed comparisons one of these days so I can see how much slower on like hardware.

      -joe

    6. Re:Forget OpenSolaris! by Dr.+Smoove · · Score: 1

      That's funny because IME Sol 10 on the hardware you're mentioning crawls. I think it's more the JDK that's slow than the OS.

      You're not interested in a blade 2000 are ya? lol

      --
      "If you plant ice, you're gonna harvest wind."
  34. Re:Philosophy of exception: usage IS NOT derivatio by Anonymous Coward · · Score: 0

    ... I'm not a C programmer) when you "link" to a C/C++ library, you actually need the source code (or at least header files) from that library in order to compile your code

    In most cases you need the header files, yes, but that's only because they define the API to the libraries, no other reason. They almost never insert code into your app, but just tell the compiler what it is that you will be using later. And as is extremely well known with decades of legal precedent worldwide, APIs are the cornerstone of interoperability, so you encumber them with attempted restrictions at your peril. The precedents are so overwhelming that nobody even tries it on, except for a few loons like SCO. :-)

    That's all a tangent to the point in the parent though, which was about USAGE not being the same thing as creating a derived work. It's a matter of principle and commonsense, as well as being consistent with the definition of derived work as employed in copyright law. And in that respect, usage by linking is not derivation in C or C++ code either, despite the fudging of commonsense in the GPL community. (*)

    The Classpath exception got it right, all round.

    ---
    (*) It's worth noting that this didn't refer either to Eben Moglen nor to RMS, who said (paraphrasing, respectively) that "The GPL is not a usage license", and "We know that we can't enforce copyright on linking, even if we'd like to". It was other zealots with more religion than commonsense.

  35. Re:SUN and GPL by Anonymous Coward · · Score: 0

    If by best, you mean the only major JVM to have numerous and consistent security problems, you've hit the nail on the head.

    Microsoft is/was responsible for like 90% of Java security exploits. Sun and IBM's JVM implementation have impeccable security records.

    Go figure, eh?

  36. Re:Philosophy of exception: usage IS NOT derivatio by ispeters · · Score: 1

    Perhaps we're wondering off topic here, but, if what you say is true, then what's the difference between licensing a library (ie. a bundle of C/C++ code that is intended to be compiled to a .o file and then linked to some other application) under the GPL vs. the LGPL?

    For example, I believe GNU Readline is explicitly GPL and not LGPL whereas glibc is LGPL. IIRC, Readline is GPL because RMS figures it's a pretty awesome library with no closed-source equivalent, so it's a bit of a carrot in the carrot-and-stick game of getting people to switch to Free Software. On the other hand, making glibc LGPL means that closed-source software can be made to run on GPL'd operating systems by using glibc as their C library. If, as you say, the GPL can't cover linking, what stops an entity from writing a closed-source app that links to Readline, but distributes only the Readline source with the otherwise-closed binaries? Have I missed something, or gotten some facts wrong?

    Ian

  37. Re:New Toy - Yay! by Anonymous Coward · · Score: 0

    Don't feed the troll.

  38. Re:SUN and GPL by KarmaMB84 · · Score: 1

    News Flash: Implementation by the language's designer in 2007 is superior to an implementation the designer sued to kill back in the Java 1.1 days.

  39. Re:Philosophy of exception: usage IS NOT derivatio by DragonWriter · · Score: 1

    If, as you say, the GPL can't cover linking, what stops an entity from writing a closed-source app that links to Readline, but distributes only the Readline source with the otherwise-closed binaries?


    Quite possibly nothing in law; the open-source-but-not-GPL examples along the same lines I've heard of involved lengthy exchanges between RMS and the person running the open source project involved (with people from the community diving in on both sides), which eventually culminated in the OS project leader abandoning whatever other license they were using and agreeing to use the GPL to end the conflict, not so much because they were convinced that they were legally obligated to do so.

    IIRC (and I'm too lazy to go reread the GPL at the moment) the "linking" provision isn't in the text of the GPL explicitly, its an explanation in the FSF GPL FAQ.

  40. Re:SUN and GPL by swillden · · Score: 1

    News Flash: Implementation by the language's designer in 2007 is superior to an implementation the designer sued to kill back in the Java 1.1 days.

    I wasn't comparing Java6 to Microsoft's late-90s JVM.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  41. Don't believe the hype. by Anonymous Coward · · Score: 0

    Sun Completes Java Core Tech Open-Sourcing.
     
    Don't believe the hype.

  42. Re:New Toy - Yay! by SenseiLeNoir · · Score: 1

    Same, I am project manager of a huge Java/Tomcat/Hibernate project where we have built a real time MP3 stitcher (stitches MP3 files at real time, for podcasts) all code is 100% Java, no native code (other than the ones within the core java libs).

    Run once/run everywhere just works.. we code on Win XP pcs, and Macs using Eclipse. Deployed on an 8 way Opteron based Sun Iron, running Solaris, and a smaller Windows Nt2000 box.

    Just works, and performs fast (stitches files of 20 MB with on average 2 adverts, in less than a second)

    --
    Have a nice day!
  43. Re:Philosophy of exception: usage IS NOT derivatio by sdfad1 · · Score: 1

    What a coincidence, this exact thing (if I have understood you correctly) did happen! The result? The program had to be released under GPL. Read all about it here. (this seems like a rapidly changing URL - it's basically a file in the clisp project).