Forgot your password?
typodupeerror
Java Programming GNU is Not Unix Sun Microsystems IT Technology

Sun Releases First GPLed Java Source 206

Posted by CowboyNeal
from the beginning-of-an-era dept.
An anonymous reader writes "You can now get GPLed JVM sources from Sun. Everyone seemed to be expecting the desktop version (J2SE) but J2ME has been released first. It looks to be buildable for Linux x86, MIPS, and ARM platforms. Sun now calls it 'phoneME.' Enjoy."
This discussion has been archived. No new comments can be posted.

Sun Releases First GPLed Java Source

Comments Filter:
  • by Anonymous Coward on Friday December 22, 2006 @07:47AM (#17335662)
    Looks like this was released back in November with the full Java GPL announcement according to the official announcement [sun.com].

    And people already started hacking it and combining it with all kinds of interesting existing free java projects to product MIDPath [thenesis.org]

    Seems the GNU Classpath, Kaffe, GCJ, etc projects really want to Collaborate [wildebeest.org] and work together [wildebeest.org] with Sun according to their latest release notes [gnu.org]. 2007 might be a pretty interesting year for Java and GNU/Linux (and mobile devices!)

    • Another project which might be fun is this one [pspstart.de] porting J2ME to the PSP. I'd like to see one for Nintendo DS even more, but maybe that is coming. :-)
    • Re: (Score:3, Interesting)

      "Seems the GNU Classpath, Kaffe, GCJ, etc projects really want to Collaborate [wildebeest.org] and work together [wildebeest.org] with Sun according to their latest release notes [gnu.org]. 2007 might be a pretty interesting year for Java and GNU/Linux (and mobile devices!)"

      If SUN Java is GPL'd, why would anybody carry on with an alternative version? Do they really thing that they can do better than SUN? Usually they do worse.

      Kaffe in particular has been a problem for my project because it lacks some of

      • If SUN Java is GPL'd, why would anybody carry on with an alternative version?


        Isn't that one of the whole points of the GPL, to enable that?

        Do they really thing that they can do better than SUN?


        Sure. And they probably can, at least for certain uses.

        • Isn't that one of the whole points of the GPL, to enable that?

          To enable it, sure, but we've seen that for the most part, GPL-covered software tends not to be significantly forked most of the time, since the economics of the situation tend to encourage people to pool their resources together. I imagine this observation was a major consideration for Sun in choosing the GPL in the first place.

  • What? (Score:2, Funny)

    by Evil Sheep (26815)
    phoneME? phone MicroEdition? Some kind of really small phone? Perhaps, a...micro phone?
    • Re: (Score:2, Funny)

      by mangu (126918)
      phone MicroEdition?


      No, I believe "ME" stands for "Millennium Edition".

      • Re: (Score:2, Informative)

        by Evil Sheep (26815)
        You're thinking of windows. phoneME is the latest name for J2ME [sun.com] or Java 2 Micro Edition, the version of Java that is put on phones and PDAs.
  • Its not responding. Are there really enough slashdotters awake at 7:00 AM (EST) to bring down something from Sun?

    Or is it just so large that the two people that are downloading it are now sucking up all the bandwidth?

    In any case, anybody have a torrent?

    • by Richard_at_work (517087) <richardprice.gmail@com> on Friday December 22, 2006 @08:10AM (#17335756)
      Hint: the rest of the world doesnt go on EST. Its not 7am where I am, its halfway through the working day for me - try to think outside your own country, Java usage isnt limited to the US.
      • by lahvak (69490)
        Well, this is "news for nerds". Everybody knows that USA is the only country that has nerds. We European geeks are all really cool and not at all nerdy, and the same goes for geeks from Asia, Africa, Australia, South and Cental America and Canada, and Antarctica. That's why we never read Slashdot... oops!?
    • Re: (Score:2, Funny)

      by Mikelikus (212556)
      You do know there's a whole world that wakes up before 7am EST right?
    • Re: (Score:3, Informative)

      by CortoMaltese (828267)
      There's a whole world of slashdotters very much awake at timezones other than EST, you insensitive clod!
      • Now, I realise that I am a rather strange individual, but I tend to be awake when I'm awake, no matter what timezone you make reference to. For instance, if you're in EST, I'm still awake as I write this little post. Same if you're in CET. Or PST. Or GMT+11. Hell, even GMT-11.

        But I'm sure you meant something completely different.
  • by dwalsh (87765) on Friday December 22, 2006 @08:37AM (#17335896)
    Congratulations to the Sun people who have made this a reality.

    They are freeing up the crown jewels, and the significance of that fact should not be underestimated. Free as in 'gratis' and free as in 'libre' [wikipedia.org].

    I am not a Sun employee, but I am a Java dev., and I would like to remind people of Sun's contributions to open source over the years. While the press communications of executives have muddied the waters, Sun have done more in the past for open source than a certain "Think Free" company. That company pressed for open sourcing Java and then bitched about the choice of the GPL.

    I would love to see the source to Websphere (not the Geronimo 'Websphere' product, but the real deal).

    ... for laughs if nothing else.

    • by tygerstripes (832644) on Friday December 22, 2006 @08:50AM (#17335960)
      Just wanted to say "hear hear". It took 20 posts before somebody actually had the decency to say Thank-you-this-is-a-good-thing, most of those 20 straying into completely niche related topics. I'm not saying they weren't all relevant or interesting points, but thanks for actually saying thanks.

      As far as I'm concerned: the short-term impact of this will be decent as people start getting their teeth into the source (as they have done since November), but the long-term impact will be fucking huge. I don't have a lot of personal experience, but this announcement combined with the fact that so many CS degrees start with OOP by teaching in Java means that people will routinely be encouraged to appreciate the power of FOSS from the start, before they get used to the limitations that its absence imposes.

      To reiterate: This-Is-A-Good-Thing.

      • Re: (Score:3, Funny)

        by dwalsh (87765)
        -- Subtle recursive jokes in sigs are not funny.
        I don't get it. Is there some recursion in your sig? If there is, it is too subtle. It is not funny.
      • by Hatta (162192)
        It took 20 posts before somebody actually had the decency to say Thank-you-this-is-a-good-thing, most of those 20 straying into completely niche related topics. I'm not saying they weren't all relevant or interesting points, but thanks for actually saying thanks.

        I'm waiting until I can actually apt-get install java and have it work before I'm too thankful.
      • It took 20 posts before somebody actually had the decency to say Thank-you-this-is-a-good-thing, most of those 20 straying into completely niche related topics.
        That's because most everyone said thanks in the previous stories about open source Java. How many times must it be said?
    • by Scarblac (122480)
      With Solaris, Java and Open Office, I believe Sun is the biggest contributor to free software now, by far. Thanks Sun!
    • by HiThere (15173) *
      Yes! Congratulations to Sun.

      I haven't been taking Java seriously as a programming language because there hasn't been a libre version. Only a gratis one. I'm also rather glad that of the various plausible licenses they chose the GPL, but that's an "optional extra".
  • by freakxx (987620) on Friday December 22, 2006 @08:53AM (#17335988)
    I dont have much idea of licensing issues associated with JAVA and GPL but I think it is going to change the things drastically. I guess all the difficulties in making JAVA work properly on a system is only because the open-source vendors can't implement JAVA so freely in contrast with other real open-source things like mono... I hope the JAVA will come properly installed on systems from now onwards and one doesn't need to dig around sun's website to download binaries and then follow some tutorial on internet to set the variables appropriately !
  • requirements: (Score:5, Informative)

    by DrSkwid (118965) on Friday December 22, 2006 @09:07AM (#17336040) Homepage Journal
    To properly build executables for the Linux/ARM target platform, a Linux/i386 build platform must meet the following requirements:

            * Red Hat Linux distribution version 7.2 - 9.0
            * Java 2 Platform, Standard Edition (J2SE(TM)) Development Kit (JDK(TM)) version 1.4.2
            * GNU Make version 3.79.1 or later
            * GNU Cross Compiler (GCC) 3.4.6 or later
            * Doxygen version 1.4.1
            * Development Kit for the Java Card(TM) Platform 2.2.1

    To set up the Linux/i386 build environment, you must do the following things:

            * Acquire Monta Vista Developer Tools
            * Set Linux platform environment variables

    Acquiring Monta Vista Developer Tools

    To build phoneME Feature software for the Linux/ARM (P2 board) target platform, you must acquire the MontaVista CEE 3.1 ADK developer tools. [mvista.com]
    • Re:requirements: (Score:5, Insightful)

      by lisaparratt (752068) on Friday December 22, 2006 @09:48AM (#17336290)
      Welcome to the Real World of Embedded.

      Nearly everything is targetted toward Monta Vista, these days. Being fair on them, it's because they were one of the few embedded Linux distributions that managed to put together something with all the neccessary patches to be actually capable of performing well in an embedded scenario.
  • This seems good for the upcoming OpenMoko [openmoko.com]-based ARM smartphone; although the project emphasizes native app development, fact is, there's a lot of mobile Java apps floating around. So once this is ported to OpenEmbedded/Moko, it should boost the platform's usefulness for many users.

    So thanks, Sun, for this Christmas present. (Now just waiting for the phone to actually come out... :)

  • Thank you Sun (Score:5, Insightful)

    by wikinerd (809585) on Friday December 22, 2006 @10:47AM (#17336712) Journal
    I am very happy that Sun Microsystems [sun.com] open sourced its Java and OpenSolaris products. If I buy my own server hardware, I will certainly prefer Sun. Contrast this with Microsoft, which is known for its Embrace-Extend-and-Extinguish practices, its preference to its own shared source licences for the very few lines of code that they ever made public, their aggressive hiring of some open-source people (why? to silence them with dollars?), and shadowy agreements with GNU/Linux vendors. Sun initially tried to use CDDL, but now took a bold step by adopting GPL and releasing actual, useful, working code under it. This means that Sun has open-minded people in its management.
    • by RAMMS+EIN (578166)
      ``their aggressive hiring of some open-source people (why? to silence them with dollars?)''

      Maybe they just want good developers?
  • Does anyone link the Java VM right into a kernel, so it doesn't have to load like an app every time a Java app/let starts? Maybe just as a kernel module? Would that violate the sandbox security? How about a pool of VM daemons? Maybe listening to a network socket into which Java bytecode can be sent for execution, like a webserver that runs against code, not request data. But more tightly integrated to the OS than, say, Tomcat or another JAS.

    If not, will the open source of Java help any existing projects do
  • by w3woody (44457)
    This is smart but for a different reason than "gee, we get to play with the sources." What it means is that phone developers who are looking at putting Java on the phone now have a leg up. While having Java on the phone is pretty much a basic requirement for most cell phone manufacturers, it does mean that if you are a new entrant into the phone market you can get a basic Java environment up and running on your hardware with minimal costs over the development tools necessary to do hardware and software deve
  • Matt Ingenthron of Sun will be speaking at SCALE about Sun's new open-source java implementations. SCALE 5x [socallinuxexpo.org] will be Feb 10-11, 2007 at the LAX Westin, in Los Angeles.
  • I hear a number of complaints about Java's performance. Java tuning is an artform. If your app is interactive(web server / GUI), I would use the low pause garbage collector. This will eat up more CPU but be more responsive. Otherwise use the throughput GC which will have noticeable pauses if memory gets low but will be more CPU-efficient. The linux kernel manages this tradeoff for you by measuring how 'interactive' each process is and adjusting things, with java currently you must manage this yourself. Mayb
  • I am having difficulities finding Java for PalmOS on my father's Palm Treo 680 PDA. He needs Java applets in his default Web browser. From what I read, there is none. Even Palm's technical support says the older versions are incompatible.

    Will this source bring the updated versions to work?

MATH AND ALCOHOL DON'T MIX! Please, don't drink and derive. Mathematicians Against Drunk Deriving

Working...