Slashdot Mirror


J2SE 5.0 Source Code Bundles Now Available

madcowbrit writes "J2SE 5.0 Source code bundles are now available with SCSL and the new and exciting Java Research license! Coders have been asking for Java J2SE source code access under new terms. The new Java Research license gives people more access and options to work with the Java J2SE source code."

27 of 150 comments (clear)

  1. This is the best thing ever by Anonymous Coward · · Score: 4, Funny

    Now I can optimize it like I do Gentoo.

  2. The big question is ... by molarmass192 · · Score: 4, Interesting

    Can you compile a FULLY functional JRE (not just rt.jar) and javac? If not, then this is no better than the MS source code access program. Look, but don't touch or try to do anything with it. Judging by the "SCSL Binaries - needed to complete source build", I'm guessing no.

    --

    Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    1. Re:The big question is ... by RPoet · · Score: 3, Insightful

      This is just SUN throwing a bone to the free software community who has been asking for a free Java. What they want is the four software freedoms. SUN, by allowing this "shared source" access to take quick, careful peeks at the source code and hope SUN won't go SCO on your behind, want to be able to say "we're meeting you half-way, you stupid hippies!" This move is guaranteed to get them excellent scores in the press, which thinks they've listened and acted. At the same time, the free software community won't be able to complain any more, since they'll just look like arrogant whiners.

      --
      "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
    2. Re:The big question is ... by carnivore302 · · Score: 5, Insightful
      At the same time, the free software community won't be able to complain any more, since they'll just look like arrogant whiners

      And rightfully so. Don't forget Sun has invested a lot of both time and money into java. Frankly, I am surprised they go as far as they do now. From the license faq:

      12. Am I required to keep my research "java compatible?"

      No. The license encourages you to innovate and experiment using the java technology core. It is expected that research implementations will not be compatible with the Reference Implementation from Sun. This is ok.

      13. Can I publish my source code at a conference, and in white papers?

      Yes, you may publish your work in the usually accepted academic manner as long as you reference the Java Research License and include the correct copyright information.

      14. Can I share my modifications with other researchers?

      Yes, provided that the other researchers have accepted the JRL.

      I might not be your regular open source hippy, but I feel that anyone that has taken the time to create software or whatever has the right to define the terms upon how it is used. Sure, the community has given a lot back. Some (can't find the link, but it was mentioned on slashdot some time ago) even argue that if it weren't for this Sun would be out of business by now. So it's a bit of giving and a bit of taking. This seems like a great gesture from Sun.

      --
      Please login to access my lawn
  3. how open ? by anandpur · · Score: 3, Interesting

    What is the status of SCSL and JRL with other open source licenses e.g. BSD, GPL or more restrictive. any martix?
    http://www.opensource.org/

    1. Re:how open ? by k98sven · · Score: 3, Informative
      Quoting Dalibor Topic (one of the leads on Kaffe, the free JVM)

      Open Source Definition vs. SCSL

      Free Redistribution

      Nope.

      Source Code

      Doesn't allow free redistribution, so redistribution in source code fails, too.

      Derived Works

      Nope.

      Integrity of The Author's Source Code

      Doesn't allow free distribution of separate modifications either.

      No Discrimination Against Persons or Groups

      I guess it passes that one, yay!

      No Discrimination Against Fields of Endeavor

      Nope. Explicitely limits fields of endeavor to research, commercial use, or internal use.

      Distribution of License

      Nope. The TCK license comes with what's effectively a NDA.

      License Must Not Be Specific to a Product

      I guess it passes that one, yay!

      License Must Not Restrict Other Software

      Nope. Once you've agreed to SCSL, you can't distribute non-compliant software. So you couldn't redistribute kaffe, gcj, or even more up-to-date versions of Xerces if they break tests in the TCK.

      License Must Be Technology-Neutral

      Nope. It's a click-wrap license. It even has a pointless [ACCEPT] [REJECT] at the bottom


      Total: 2 out of 10.

      In summary, it's not open source. It's not even close.

  4. I STAND CORRECTED!!! by molarmass192 · · Score: 5, Informative

    The binaries are only fonts, sounds, and icons ... you DO get all the source code. I'm friggen impressed now!

    --

    Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  5. be careful and think before you download by geg81 · · Score: 4, Insightful

    Yes, you can download the J2SE 5.0 source code. But once you do, you will be bound by Sun's source code license agreements. Some companies and open source projects interpret those license agreements in such a way that you will not be able to work on projects covering anything that overlaps with functionality in the Java distribution.

    I'd recommend you read Sun's licenses carefully in their entirety and think about its implications carefully before you download the source code and look at it.

    Furthermore, you should carefully think about what you are getting out of agreeing to the license and what Sun is getting out of it (I find Sun's licenses inequitable).

    If you want to find out how Java-like compilers and runtimes are developed and built, there are truly open source systems you might look at that don't saddle you with the kinds of restrictions Sun wants to impose on you (and they are likely better systems to learn from anyway).

  6. That sure is 'open'... by Fnkmaster · · Score: 4, Insightful

    7. Does this license require a click-through acceptance of terms?

    Yes. For enforceability, Sun requires a click-through license.


    This should tell you something - only a license that plans to restrict your rights in some unpleasant way requires a clickthrough. Seriously - I always get the willies from having to clickthrough to accept anything.

    14. Can I share my modifications with other researchers?

    Yes, provided that the other researchers have accepted the JRL.


    Cool, even my patches are subject to the license. I knew some doozy was coming that was going to restrict my usual rights. Thus the clickthrough love.

    8. When do I need to get a commercial license?

    This research license is only for initial research and development projects. If you decide to use your project internally for a productive use, and/or distribute your product to others, you must sign a commercial agreement and meet the java compatibility requirements.


    Uhhh... so let's see, I can use the Sun JRE free for any use. I can download the SCSL Java SDK source code, and while I can't redistribute it or do other Open Source style things with it, I can at least play with it and use it for internal things if I want (I think). But I can't even do that with the Java Research License, if it consists of 'productive use'? That sounds really ... useful to me.

    1. Re:That sure is 'open'... by Hollins · · Score: 4, Informative
      This should tell you something - only a license that plans to restrict your rights in some unpleasant way requires a clickthrough. Seriously - I always get the willies from having to clickthrough to accept anything.

      That's interesting, because the last time I installed firefox, it required a clickthrough acceptance of the GPL. I didn't get any willies at all.

  7. OS X by Anonymous Coward · · Score: 4, Interesting

    So now, how long before someone builds a working J2SE 5.0 on OS X before Apple releases it ?

  8. I hope ... by Pegasus · · Score: 3, Interesting

    we can now finally get a recent java for *BSD and more obscure linux platforms (linux/alpha, linux/ppc). I don't care about support, I just want to have it more or less working.

  9. not open at all by geg81 · · Score: 4, Informative

    You can find Sun's license here. Sun admits that it isn't an open source license, they are just trying to argue that it is somehow better than open source.

    Because Debian is forced to classify software into open source or not, Debian has had to look at this in some detail, and they concluded that it was not open source.

    1. Re:not open at all by vegetasaiyajin · · Score: 3, Informative

      The Java platform cannot be legally reimplemented without meeting Sun's compatibility requirements and without obtaining licenses for several of Sun's patents

      Obtaining the license is no problem.
      From the Java language specification:

      Sun Microsystems, Inc. (SUN) hereby grants you a fully-paid, nonexclusive, nontransferable, perpetual, worldwide limited license (without the right to sublicense) under SUN's intellectual property rights that are essential to practice this specification. This license allows and is limited to the creation and distribution of clean room implementations of this specification.

      Your implementation has to pass the compatibility tests, though.

      There are several clean room implementations of Java (GCJ, Kaffe, TowerJ, Jeode and others I forget). I don't know which ones paid Sun though.
      I think you have to pay if you want to use the trademark name Java.

      --

      My heart is pure, but make no mistake, it's pure evil
  10. J2SE 5.0 SCB4 1.5.0 SDK V2.0 by Anonymous Coward · · Score: 4, Funny

    and they've already begun working on the next version of the source code bundle, tentatively titled:

    J2SE 5.0 SCB V2.0 SDK 1.5.0

    or for short, J5SV2S1.5

  11. Re:If for Research... by miguel · · Score: 3, Insightful

    And that is why that license stinks.

    It is "viral" in that if you get that code and
    learn from it, you can not use it to improve
    any open source software.

    I would very much like to see how Sun has
    implemented certain optimizations for Java and
    bring those over to Mono (or to other open source
    Java VMs, VMs in general, JIT engines, compilers
    or scripting languages).

    The problem is that the license explicitly
    forbids the use of it for this purpose `direct
    or indirect commecial (including strategic) gain
    or advantage'
    .

    Still falls short of usable for the free software/
    open source community.

    Miguel.

  12. Re:Self compilation by Espectr0 · · Score: 3, Informative

    gcc is able compile self. Does java compile itself?

    Yes it does

  13. Re:If for Research... by UpLateDrinkingCoffee · · Score: 4, Insightful
    I was at a conference recently with some high level Sun employees, and this subject came up.

    Sun isn't ashamed to admit that Java is not open source, and likely won't be for the foreseeable future. In fact, they seem to get a little angry at the question pointing out that Sun has spent millions developing Java and now the community expects them to make it GPL or something. I'm not sure how keeping the development burden of Java internal to Sun really makes them money, though. Open sourcing would be the ultimate outsoursing... hundreds (or thousands) of developers all contributing to Java for free.

    The biggest argument against this I heard is that Sun would have to halt new features of Java for 9-12mos and concentrate on getting the source ready to be released. I don't get this at all... just throw it in CVS and do it with the help of the open source community.

    P.S. The Colorado Software Sumit is awesome!

  14. PseudoOpenSourceLicense JRL = SCSL.clone(); by Anonymous Coward · · Score: 4, Insightful

    Quoting Danese Cooper, Sun's open source diva:

    "IMHO (and IANAL) the JRL doesn't actually represent much of a change of terms from what the research and academic community could do under SCSL (there are some small changes around export), but it does clear away all the language in SCSL that is confusing, if you are only planning to engage in research."

    from http://today.java.net/pub/a/today/2003/06/24/jrl.h tml

    On a first look, there is not much difference between the JRL and the research provisions in the SCSL. The language got a bit clearer, and a few of the most hillarious provisions have been dropped.

    Research projects like JikesRVM, ORP, OVM and others seem to prefer to use GNU Classpath, rather than have their hands tied by proprietary, non-permissive licenses. I'd expect more research projects to join into the GNU Classpath pool, which is free software, in the future.

    It's definitely a step ahead for Sun. Good luck on the rest of the road to freedom without fear[1].

    cheers,
    dalibor topic

    [1] Fear of forking, incompatibility, .net, Microsoft, IBM, Bea, or whatever the scare-of-the-day is, that prevents Sun from licensing their code under an OSI certified license.

  15. Re:If for Research... by YetAnotherAnonymousC · · Score: 4, Informative

    Another thing to remember is that IBM actually has written much of the j2se code. Who knows what the exact details of that license agreement are? I suspect that Sun (same goes for IBM) may not even have the full legal rights to unilaterally open source the j2se even if they decided they wanted to do it tomorrow.

  16. Re:If for Research... by Ilgaz · · Score: 4, Interesting

    Don't forget Java ME is a huge suscess on mobile phones etc.

    Why those guys will make it opensource so some guys at Redmond will copy/paste it to be .net for mobile?

    Yes, they actually do such crap. They did it before.

  17. Re:Parent is a leech by moonbender · · Score: 3, Funny

    You're totally right, that Miguel fellow should just try to come with his own VM implementation - hah, like that's going to happen! What a leech!

    --
    Switch back to Slashdot's D1 system.
  18. Re:If for Research... by Wesley+Felter · · Score: 4, Insightful

    Miguel, you are wrong. The license says "You may use any information in intangible form that you remember after accessing the Technology, except when such use violates Sun's copyrights or patent rights." In other words, you can read the code to learn how it works and use that knowledge. You just can't cut-and-paste Sun's code into another project.

  19. My advice... by NoMercy · · Score: 4, Insightful

    Stay very well clear of it:

    "agreeing to this license (e.g. by downloading source covered by the SCSL) will make it impossible for you to contribute to free software clean-room implementations."

    I'm certanly not going to touch it, the pre-compiled stuff will do fine.

  20. Well this was no fun... by dimator · · Score: 4, Funny
    $ grep -ri -e fuck -e "[ \t]shit" .
    ./deploy/src/plugin/oji-plugin/src/motif/navig5 /JavaPluginFactory5.cpp: // The peice of shit browser does not seem to call Initialize
    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  21. Re:There's an IBM JVM... by Calroth · · Score: 3, Informative

    "...that used to be called Jalapeno that bootstrapped itself..."

    Just to let people know, it's now called Jikes RVM and is still under active development. "RVM" is a Research Virtual Machine, which is like a standard VM, only researchers do weird, cutting-edge things to it (advanced garbage collection, advanced runtime optimisations). The idea is, one day, the standard JVM will pick up these changes.

    Not related to the Jikes compiler.

  22. I said it before and I will say it again by jonwil · · Score: 3, Insightful

    I have yet to see a valid argument for why SUN doesnt release J2SE under an OSI complient licence.

    The argument that they want to be able to use the code in their own closed things, well they can do what OpenOffice.Org does and dual licence.

    There are clearly no arguments that can be made about "other peoples code", if there was anyone elses code in there, we wouldnt get to see it at all.

    As for the oft-pushed argument about forking, I said it before and I will say it again.
    What they need to do is to release the source code.
    Plus a testsuite.
    If you want to use the JAVA name on your particular binaries, those binaries must pass the testsuite.
    Releasing under a string copyleft like GPL that requires all source changes to be made public would also help stop forking because anything that is used can be added to the official sun tree.

    That way, anyone can use the source for whatever they like. But if you want to call something (be it modified from the SUN code or otherwise) JAVA, you have to pass the testsuite. That way, anything that has the JAVA logo on it (or whatever) is gauranteed not to be incompatible with SUNs VM.
    A good cpoyleft licence would also prevent what happened with Microsoft from happening again (since any additions could be added to the SUN VM)