Slashdot Mirror


Open source Java?

Bruce writes "Newsforge is reporting that Java 2 Standard Edition, may soon be set free of Sun Microsystems' notoriously complicated licensing. A group of 12 Apache developers have put together a proposal called Harmony. The proposal appeared as a simple project call last Friday on an Apache incubator mailing list. It would make this new, built-from-the-ground-up version of Java available under the Apache 2.0 free software license. And it's causing quite a stir in the Java community, especially since respected Sun frontmen Tim Bray, Simon Phipps, and Graham Hamilton have given the project their blessing. As yet there has been no reaction from Dr. Java, James Gosling himself, who is in Brazil talking to developers. In a FAQ on the Apache site, Harmony project leader Geir Magnusson Jr. wrote: 'We believe that there is broad community interest in coming together to create and use an open source, compatible implementation of J2SE 5, the latest version of the Java 2 Standard Edition specification. While the Java Community Process has allowed open source implementations of JSRs for a few years now, Java 5 is the first of the J2SE specs that we are able to do due to licensing reasons.'"

37 of 341 comments (clear)

  1. Quite a stir? by Anonymous Coward · · Score: 5, Insightful

    I think this "quite a stir in the community" is wishfull thinking. The Java community at large doesn't care much about an open source Java. People want to or have to write code, not fighting holy OSS wars.

    This is a home-made a storm in a teacup. There is already an initiative to create a free Java: GNU GJC. And no one cares about it. The Apache people are just running some propaganda now, but it will be forgotten in a few weeks.

    1. Re:Quite a stir? by m50d · · Score: 3, Insightful

      The Java community at large consists of people who don't care about open source java precisely because there is no (good) open source java. There's a pretty huge sample bias there.

      --
      I am trolling
    2. Re:Quite a stir? by Tim+C · · Score: 3, Insightful

      I've been a professional Java developer for 5 years now, and I completely agree. I have never, not once thought "if only Java were open source!". (For comparison, I first started using Linux nearly 8 years ago)

      I have no desire or need to change or add features, I have no desire or need to run it on unsupported OSes, and I have no desire or need to distribute it to third parties. I have no desire or, as far as I can see, need for Java to be open sourced.

      Your mileage my vary, of course, but for myself, I see no value in it.

    3. Re:Quite a stir? by m50d · · Score: 2, Insightful

      Exactly. But the point is if you didn't feel that way, you wouldn't be using java. Which means it's stupid to talk about the community not caring, because the people who do care, like me, are naturally not a part of the community. Who knows how many more people would be using java if it were open source? You certainly can't tell just by asking the current java community.

      --
      I am trolling
  2. Helping out current Java Open Source projects? by Sv-Manowar · · Score: 4, Insightful

    Bringing open source Java runtimes to fruition should be an important step for open source java projects that are currently held back from entering distributions and packages because of this requirement. Also the requirement of Sun Java to use Java 5 on Linux (this situation may have changed..) would be a good thing to challenge.

    Having such a fundamental and established organization like the Apache project behind the effort should really aid & help to posture this effort within the wider open-source community.

  3. Critical thinking... by PornMaster · · Score: 5, Insightful

    Well, can you run GPLed Java software on the Sun JVM?

    Let's get real, folks. Critical thinking isn't that difficult.

  4. "blessing" doesn't matter by cahiha · · Score: 1, Insightful

    Sun employees have said many things about Java in the past: how open it is, how anybody can supposedly implement it, etc.

    In reality, in 10 years, nobody has managed to create an interoperable, independent implementation of it. All the Java implementations that exist either are highly incompatible (gcj, kaffe, classpath, etc.), or they use Sun-licensed code (Blackdown, IBM, Apple, etc.). Something clearly makes it hard to re-implement Java, and that's probably both technical and legal. Whatever the specific reasons, it's a failure of Java as a general-purpose, standard programming language.

    Whether Sun employees "bless" such a project or not doesn't matter: their opinion or public statements aren't legally binding. They know that it will take years until Harmony delivers anything, and Sun's legal team can still shut it down then.

    1. Re:"blessing" doesn't matter by Jerf · · Score: 4, Insightful

      Something clearly makes it hard to re-implement Java

      I'd like to tender a vote for "It's sheer Brobdingnagian size". Individually, each individual function of an API is something you could probably assign a college student to do, but taken together, to re-implement something like Java (which, like "Perl" or "Python" and unlike old-style "C" or ECMAScript, also implies a fairly sizable standard library) is just damned hard.

      And as one lil' open source developer, I can't work up much excitement about re-implementing a language spec. (Full disclosure, I hate Java, but that statement is generally true; I can't think of any language I'd care to donate my time towards re-implementing.) I can't imagine this helps the developer pool. (Obviously this is not true of everyone, if you think I just claimed otherwise please learn to read what people say, not what you think they said. I'm just saying that I doubt this gets many people's blood pumping in a way that Yet Another Web Framework or YA MP3 Player seems to.)

    2. Re:"blessing" doesn't matter by Daniel+Ellard · · Score: 3, Insightful
      Whatever the specific reasons, it's a failure of Java as a general-purpose, standard programming language.

      Utter nonsense. Let's count the number of distinct implementations of Perl, Tcl, Ruby, Visual Basic...

      Languages that are reimplemented frequently tend to be small, simple and appeal to language weenies (scheme, *ML) and/or there's money to be made.

      The specs for Java have always been completely open. Anyone can reimplement it. The only restriction is that you can't call it Java unless it meets the spec (and proving that it meets the spec is, quite understandably, nontrivial because Java is a large, complex language).

      If you like Java but want to change a few things, you're even free to do that, as long as you call it something else, like C#.

      --
      Disclaimer: I work for a company, but I don't speak for them.
  5. Interesting name "Harmony" by stevew · · Score: 3, Insightful

    What is interesting is that another project by this name got started during the QT is BAD days. Several developers started the "Harmony" project to replace the QT library with a GPL'd clone. Trolltech relicensing the library stopped this in it's tracks.

    Odd how history DOES repeat itself ;-)

    --
    Have you compiled your kernel today??
    1. Re:Interesting name "Harmony" by m50d · · Score: 3, Insightful

      I assumed that was deliberate. Maybe a subtle hint to Sun that they could make things a lot easier for everyone by dual-licensing java under GPL?

      --
      I am trolling
  6. Re:I was under the impression... by SharpFang · · Score: 3, Insightful

    Blackdown, Kaffe, GCJ, and quite a few similar "branches", all getting somewhere 60% down the way and stopping there. Somehow I don't quite believe the new project will get anywhere near "usable" as well.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  7. Re:gcj and the new license wars by Richard_at_work · · Score: 5, Insightful

    GPL and Apache licenses aren't quite compatible.

    Since the GPL doesnt allow for distribution of code under any other license, then its not compatable with any other license. Other licenses are compatable with it, but its most certainly not a two way thing.

    Sometimes different ideologies foster competition, just as Firefox has forced MS to reopen development on IE 7, the GPL license forces people with more broader ideologies to create competitors to GPLed projects.
  8. Da Name by Anonymous Coward · · Score: 2, Insightful

    Harmony, thats an interesting name. Its the same name that was used when QT was going to be replaced. Hum is Harmony going to be the name of the closed source killers?

  9. Zzzzzz. Wake me up by thammoud · · Score: 3, Insightful

    when this topic dies down. As a Java developer for the past 7 years, can someone remind me as to how Java will benefit from being open source? Sun along with the JCP has done an incredible job in advancing the platform. Java is the number one development environment for business applications. Bar none.

    Why would someone encourage fragmentation and resource wasting ala KDE, Gnome and the gazzillions of Linux flavors is beyond me.

    Sun, keep up the great stwerdess of the Java platform.

    1. Re:Zzzzzz. Wake me up by dmaxwell · · Score: 4, Insightful

      Sun won't even take reasonable steps to allow distros to pre-install Java. Yes, it is simple for me to install Java after the fact. It is a legal licensing pain to distros to offer well integrated Java installs. That is one problem.

      The other problem is that only platforms that are directly important to Sun or IBM get full featured Java environments. Java on PowerPC Linux is still substandard. IBM makes a JVM availiable but you have to jump through hoops even as an end user to get it and you still don't have a browser plugin. An Open Source Java would be available on just about all platforms with equal functionality.

    2. Re:Zzzzzz. Wake me up by MrDomino · · Score: 4, Insightful
      As a Java developer for the past 7 years, can someone remind me as to how Java will benefit from being open source?

      Ever tried running Java on *BSD? It works to some extent, but it isn't pretty. Having an open implementation could mean that Java and Java Server Pages would become more widely accepted in servers running open systems.

    3. Re:Zzzzzz. Wake me up by Narchie+Troll · · Score: 2, Insightful

      It isn't distributed under a free software license. Pretty simple. Any free software written for Java that makes use of features present in Sun's distribution but not in GCJ/Classpath is not truly free, since it depends on proprietary software to run.

      See The Java Trap.

    4. Re:Zzzzzz. Wake me up by Anonymous Coward · · Score: 1, Insightful

      LOL. Yes. Lisp. How about APL? or some other equally retarded language only mathematicians, washed-up AI people & other various people who never got past just being a programmer (vs designer vs software engineer) could love...

      Because LISP scales *so* well. And has all kinds of useful features like ... eval!!!!

      And it's so fast *every* systems project that is worth anything is written in LISP!

      Yes! the way of the future! RPN & expressing yourself in syntax trees! What next? Graphical programming??? You just draw the syntax tree. So now you can have a *picture* that no one else understands instead of just a program... *rolls eyes*

    5. Re:Zzzzzz. Wake me up by Wesley+Felter · · Score: 2, Insightful

      if the problem is that Java is hard to distribute w/ OSS, shouldn't the solution figure out how to pressure Sun or IBM into distributing Java with OSS?

      People have been working on that problem for almost ten years, and no progress has been made. It's time for a different approach.

    6. Re:Zzzzzz. Wake me up by Ars-Fartsica · · Score: 2, Insightful

      Also, there are plenty of benchmarks showing Java is as fast or faster than C and C++ on large datasets and long-running applications, when the environment initialization isn't a hit on performance.pAlso known as contrived tests.

  10. OpenOffice.org by codergeek42 · · Score: 2, Insightful

    Perhaps a usable F/OSS Java implementation would quelch the OpenOffice.org 2.0 and Java issues...

  11. Getting ridiculous by Exaton · · Score: 3, Insightful

    Zonk, you are an embarassement, an icon of shame for this website.

    You've been around long enough now. Time to start quickly checking /. archives before accepting news submissions.

    I hope you're really, really ashamed of the multiple editorial failures you're responsible for. Time to step up and do something about it, man ! No need to follow bad examples !

    And I choose not to go AC to say that.

  12. Re:gcj and the new license wars by k98sven · · Score: 4, Insightful

    Why start from scratch? It this simply because the Apache folks don't like the GPL?

    Actually it hasn't been decided if they will start from scratch yet. They might adopt an existing VM. They might adopt the GNU Classpath class library.

    The discussions on checking up the inevitable licensing issues are already underway.

  13. Re:I see a case of "redundancy" by damiangerous · · Score: 5, Insightful
    Tell me please: Why should I, as an end user, download and use Apache's Harmony instead of using SUN's "real" Java.

    Scenario 1: You as an end user wouldn't have to. It would be included with your operating system, which is not currently the case. If you have to seek one out you would probably seek out Sun's, but if your Linux distro came with Apache's you would just use it unless it was unsuitable in some way.

    Scenario 2: You develop Java apps. Right now you have to direct end users to another website (Sun's) and follow instructions found there to download and install Java. You could instead offer an install package that already includes Harmony.

    Scenario 3: You want to use Java on an unsupported machine. Right now you don't really have many options for running Java apps on PocketPCs, for example (Like my Jornada 568). An Open Source JVM would almost certainly be ported a wide variety of platforms (considering how many platforms have reimplementations like Waba attempted for them the demand is obviously there).

  14. Re:Possibly poor foresight. by Anonymous Coward · · Score: 5, Insightful

    The GPL is incompatible with the Apache licence, not visa-versa. And there's much more Java code under the Apache licence than under the GPL.

  15. Fending off the fundamentalists... by aquarian · · Score: 1, Insightful

    As a Java developer for the past 7 years, can someone remind me as to how Java will benefit from being open source?

    By not giving excuses to rabid, open-source fundamentalist freaks to attack every worthwhile project that uses Java?

  16. Re:Dupe, and why? by mikaelhg · · Score: 5, Insightful

    We don't just need a Open Source Java, we need a Open Source Java implementation fit for production use.

    To produce such a thing, we need a community of competent people committed to that goal. This is what other Open Source Java projects lack.

    To get such community going, one needs to communicate in a certain manner. This is what the Harmony people are now doing. The strenght of this project is, to me, that it has both excellent technical competence and competence in community management and in setting and achieving goals in a reliable manner.

    This attempt is getting so much attention because senior people who understand that there is more to life than mere technical details pay attention when people who have a track record in producing results, speak.

  17. I don't get it... by mark-t · · Score: 5, Insightful
    People wine at Sun "Open Java... Open Java... Open Java...".

    And when they finally look at doing so, all I see people saying are things like "We already have GJC, you fuckers... we don't need you anymore".

    I just don't get it.

  18. Re:gcj and the new license wars by pnatural · · Score: 2, Insightful

    Since the GPL doesnt allow for distribution of code under any other license

    Don't you mean re-distribution?

    Someone correct me if I'm wrong, but I thought that the GPL only covered re-distribution, and also could not prohibit authors from distributing under multiple licenses. Put simply, as the author of software, I choose the number and type of each license for every release of code.

  19. Re:Dupe, and why? by killjoe · · Score: 2, Insightful

    What makes you think the people behind the current open source java projects are incompetent and not committed?

    What an insulting thing to say.

    --
    evil is as evil does
  20. Re:Miguel's take on Harmony by /ASCII · · Score: 2, Insightful

    Yeah, ask the main PR man for a competing product what he thinks of more competition. You're bound to get some unbiased answers.

    Personally I don't see how anyone can care about .Net vs. Java, they are so close to identical it's not even funny. As to the implementation, neither GCJ, Kaffe or Mono is 'there' yet in terms of quality, at least not in my experience. If we just leave people to do their hacking, evolution will weed out the bad implementations and we'll have the best tools available.

    --
    Try out fish, the friendly interactive shell.
  21. Re:Possibly poor foresight. by soulhuntre · · Score: 5, Insightful

    The GPL is the license the market has picked.

    No, Apache is. Many many more companies run Linux as a free way to run Apache than use Apache only because the chose Linux.

    --
    --> Fight tyranny and repression.... read /. at -1!
  22. Re:gcj and the new license wars by Dwonis · · Score: 1, Insightful
    My point is essentially that it offers no advantage to the Apache development team to expend any effort in ensuring that their license is at all comptabale with the GPL because they will not foster anything from it.

    Right, because any idiot can clearly see that Harmony has nothing to gain from gcj or GNU Classpath.

  23. Why to use Java by narl · · Score: 2, Insightful
    Java is the number one development environment for business applications. Bar none. Bahahaha. Number one in what? Being slow? Being broken? Being inconsistent? Being verbose? Being a nightmare for sysadmins to manage?
    From what I can tell, the reason Java seems becoming the number one business applications (bleah), is that the Java language structure does a pretty good job of straight-jacketting you into writing somewhat maintainable code.

    From the PHBs' point of view, more maintainable code is more valueable than more efficent/faster developed code because it means they can treat the developers as interchangeable units they can add or remove on demand. Filling a Java opening is easy, filling a Lisp opening would be a nightmare.

  24. Forgive me, but... by John+Nowak · · Score: 2, Insightful

    If you need to write applications that run on platforms not supported by Java, er, how about not using Java? There are certainly many other solutions out there that are quite lovely. Sun's Java does a good job on the important platforms. How many people run PPC Linux? Not so many. I do, but not having the latest, greatest Java VM is hardly killing me. My point is that the problem is not so big that it warrants wasting all this time, especially since other people are already working on solving the problem. Compatibility is always going to be an issue with with the OS VM versus Sun's VM, so why not just do something entirely new altogether? You can't seriously think that Java is the best we can achieve. Beating Sun at their own game is impossible. Instead, let's create something new if it is really necessary, which I'm not convinced it is.