Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Sun Microsystems

Will Sun's Java Go Open Source? 519

Ritalin16 writes "CNet report that Sun Microsystems wants to send Java closer to the open-source world, yet keep it safe from harm. "Project Peabody" adds two licenses that make it easier for outsiders to see the code. But Sun stops short of embracing open-source. Sun's licensing practices for Java are closely watched. Proponents of making Java open-source argue that a different license and development process will help accelerate usage of Java, which faces ongoing competition from Web open-source scripting tools, such as PHP, and Microsoft's .Net line of tools."
This discussion has been archived. No new comments can be posted.

Will Sun's Java Go Open Source?

Comments Filter:
  • off-topic-a-roony (Score:5, Interesting)

    by aendeuryu ( 844048 ) on Thursday March 17, 2005 @02:16AM (#11962575)
    Hey, is anybody using the gnu java compiler much? How's the performance on java programs made with it? Obviously there'd be some positive side effects, but exactly how much could the community benefit from having Sun's compiler open-sourced?
    • Re:off-topic-a-roony (Score:3, Informative)

      by Anonymous Coward
      The Gnu java compiler produces code that is quite a bit slower then Java runtime enviroment. Probably uses more RAM too.

      I don't know of anything beyond that.

      The community would benifit from having a Open Source java implimentation because it would allow distributions to distribute java runtime enviroments and allow tighter integration of java into general linux offerings. Like you could begin writing Java-based GUI applications and then distibute them yourself without requiring your audiance to agree to r
      • Mono viability (Score:5, Insightful)

        by grahamsz ( 150076 ) on Thursday March 17, 2005 @03:24AM (#11962899) Homepage Journal
        While i haven't done much research, a little casual testing suggests that opensource JREs run a lot more java software than mono runs .net software.

        • Re:Mono viability (Score:5, Interesting)

          by lupus-slash ( 132575 ) on Thursday March 17, 2005 @06:53AM (#11963488)
          Given than mono can run basically the same java programs as the free java VMs (since they all use GNU classpath and the lib implementation is the limiting factor) and it runs many .net programs out of the box, mono is much more viable than any free software java implementation.
      • Re:off-topic-a-roony (Score:5, Interesting)

        by iamacat ( 583406 ) on Thursday March 17, 2005 @05:16AM (#11963220)
        The community would benifit from having a Open Source java implimentation

        Well, there are already at least a couple - Kaffe and GCJ, why not just contribute? Sun already did the hard part - theoretical research, design, marketing - for free. Actual coding of well-researched projects is not that difficult. You can even study Sun's source code to learn general concepts for your own project as opposed to just "lifting" it.

        See, there is no shortage of C/C++ compilers and nobody is grumbling about AT&T not releasing their stuff under GPL.

        ...because it would allow distributions to distribute java runtime enviroments...

        SUSE and gentoo already do, I would guess someone (Debian?) made their own decision not to ship Java rather than being disallowed by Sun.

        Like you could begin writing Java-based GUI applications and then distibute them yourself without requiring your audiance to agree to restrictive licenses and download and install Java on their own.

        Enjoy a license-free download! [suse.com] And the winner is:

        Probably a bit to late for all that, unfortunately. Sun had it's chance and now Linux has managed code in the form of Mono (open source .NET implimentation) and C#. So sun has much more stiffer compitition then it would of had in the OSS world if they released a java runtime enviroment without restrictive licenses a few years ago.

        Do you mean Microsoft released their own .Net implementation under GPL?? I would say Java platform is far more open than MS stuff. Gnome developers just have some unexplainable love for Windows.Forms as opposed to Swing.

        • Re:off-topic-a-roony (Score:3, Interesting)

          by rabbit78 ( 822735 )
          Probably a bit to late for all that, unfortunately. Sun had it's chance and now Linux has managed code in the form of Mono (open source .NET implimentation) and C#

          I don't think Mono is better than Kaffe/GCJ/... The GNU/Classpath based Java VMs are already covering most of the Java API. The biggest/most visible obstacle is probably the Swing implementation, but OTOH Mono also doesn't have a complete Windows.Forms implementation. Don't say GTK#, this is also accesible in Java via java-gnome or SWT, which b
        • Re:off-topic-a-roony (Score:3, Informative)

          by agraupe ( 769778 )
          I cannot see a single reason why a sane individual would prefer C# to Java. Although the speed (might, I don't know) be a bit better, if you need speed, you should be coding in a native language. The very small amount of Java programming I've done, versus the same amount of C# coding, has convinced me that Java just seems cleaner and easier to work with. Even with both being proprietary, I know which one I prefer. Sun doesn't go around looking for ways to be evil, which is more than I can say for Micros
        • by DaliborTopic ( 868548 ) on Thursday March 17, 2005 @11:26AM (#11965068)
          You can even study Sun's source code to learn general concepts for your own project as opposed to just "lifting" it.
          No you can't. Read the fine license, in particular the definition of Modifications in SCSL 2.3. Sun claims copyright on any code independently implementing any portion of the SCSL-licensed technology *if* you agree to their license. So please don't look at their code if you intend to contribute to free runtimes in the future. It's the same as Microsoft's Shared Source in a different wrapping. cheers, dalibor topic
        • SUSE and gentoo already do, I would guess someone (Debian?) made their own decision not to ship Java rather than being disallowed by Sun.

          While I'm not sure how SUSE manages to distribute Sun's JRE, Gentoo doesn't distribute it at all. Instead, the ebuild merely simplifies the process of downloading the file from Sun and installing it.

          While this may seem like a small nit to pick, the fact is, if you look on the Gentoo CDs, they distribute the Blackdown JRE, not the Sun JRE.

        • by unoengborg ( 209251 ) on Thursday March 17, 2005 @12:37PM (#11965773) Homepage
          Gnome developers just have some unexplainable love for Windows.Forms as opposed to Swing.

          This may have a reason. Swing doesn't work properly on Linux. At least not if you don't use an US keyboard and US locale. In many European locales some characters will be untypable, what exact charaters depends on the locale.

          This is of course a bug, but its been around ever since swing was born. It was almost emediatly bug reported. After a couple of years sun closed the bug with the bug still UNFIXED. I guess it got embarassingly high bug votes on their top 25 list.

          Now the bug is reported again (under a new bug id) and has been on the top 25 list for a couple of years now.

          Any Linux programmer know by now, that Sun either is too incompetent or fix this, or have some other agenda that make them unwilling to fullfil the promis of compile once run everywhere that once was used to promote java.

          You can get more information on this bug from:
          http://bugs.sun.com/bugdatabase/view_bug.do?bug_i [sun.com]d =4799499

          If you like you can even cast your vote for it to be fixed. Not that I think it will make much of a difference. To Sun java is something for the serverside only.

      • Actually my experience is that the opposite is true. I have an actual Java program here that brute forces the Travelling Salesman Problem and with GCJ 3.4 compiled using -O2 -ffast-math it can reliably complete a simple set of cities in a couple of seconds less than the JVM can (where the JVM takes about 7 seconds).

        Now, it may be that the JVM simply takes 2 seconds to start up and the GCJ version doesn't. I do not know. However, I have no complaints about the performance of GCJ. The biggest problem with i

    • Re:off-topic-a-roony (Score:4, Informative)

      by LnxAddct ( 679316 ) <sgk25@drexel.edu> on Thursday March 17, 2005 @03:32AM (#11962922)
      Despite the other posters, gcj compiles things very nicely. It also has support for many things including SWT and basic AWT (enough support to compile jogl (opengl bindings)) Its definitly an alternative and has made major headway recently. It can compile eclipse and the Apache Tomcat server as well. GCJ is nice for compiling natively, and we already have an open source JVM called blackdown. Sun opening Java would be nice, but certainly not essential.
      Regards,
      Steve
      • gcj is nice (Score:5, Interesting)

        by DavidNWelton ( 142216 ) on Thursday March 17, 2005 @03:44AM (#11962971) Homepage
        I've been using gcj to develop Hecl ( http://www.hecl.org/ [hecl.org] ) with, and so far I've been pretty happy. I found one compiler bug, which I reported and which was then promptly fixed. At FOSDEM, I also had occasion to go visit the Free Java developer room, and the impression I get is that these guys are making enough headway that it doesn't matter what Sun does at this point. Redhat had something like 3 or 4 very sharp developers (Tom Tromey, for instance) working more or less full time on gcj and ClassPath. Sure, Sun has way more people, but for now, all the free guys have to do is play catch up with the spec, not surpass Sun. That comes next;-)

        By the way, I don't think blackdown is actually open source in that it's based on the Sun code.

        I'm curious - does the new Fedora actually ship with gcj and gij as 'Java'? That will be an interesting development to watch.
        • Re:gcj is nice (Score:5, Informative)

          by k98sven ( 324383 ) on Thursday March 17, 2005 @06:54AM (#11963491) Journal
          I'm curious - does the new Fedora actually ship with gcj and gij as 'Java'? That will be an interesting development to watch.

          Actually, yes. Red Hat has actually aliased 'java' to them in the default install for quite some time now.

          The more interesting thing is that FC4 will for the first time include natively-compiled Java packages. And not just any packages, but Eclipse and Apache Tomcat.

      • Blackdown Java is not FOSS!

        From www.blackdown.org:

        As a user, you're subject to the same licensing restrictions with Blackdown Java as you would be with Sun's Java binaries on Solaris or Win32. It's as simple as that.

      • One wonders if someone clever will fuse Mono, making it another front end for gcc.
        Think about C# that executes faster on Linux than it does under .Net.
        Think about mixing the resulting .so files.
        Urrrk, I really should switch to decaf...
    • GJC (Score:5, Informative)

      by lokedhs ( 672255 ) on Thursday March 17, 2005 @05:20AM (#11963231)
      Well, the compiler itself it quite good, and actually manages to create code that runs faster than Sun's VM on occations. Last I looked, however, the Sun VM is faster overall, since it can do stuff like inlining virtual methods, which a static compiler is unable to do.

      However, the biggest problem with the GNU compiler is the lack of compliant class libraries. The GNU Classpath project, which aims at creating an open source cleanroom implementation of the Sun class libraries are severely behind. My optimistic guesstimate would place them at being about 3 years from full 1.5 compatibility, at which time we're probably using the beta of 1.7.

      However, GNU Classpath has an easier job ahead of them than the Mono folks, which begs the question as to why they chose to go with the Microsoft technology in the first place.

    • Re:off-topic-a-roony (Score:3, Informative)

      by Glock27 ( 446276 )
      Hey, is anybody using the gnu java compiler much? How's the performance on java programs made with it?

      Having seen some of the simplistic negative responses to this post, I have to say it's not that simple. gcj has its strengths and weaknesses, and for some things it's substantially faster than the commercial Java VMs.

      Performance wise, its weak spot seems to be GC performance and some other specific areas like synchronization monitors and exceptions. However, if you tailor your code to gcc's strong point

  • by skomes ( 868255 ) on Thursday March 17, 2005 @02:17AM (#11962582)
    I already ditched java a long time ago. After trying some .net, settled on python, who wants to write 10 lines of code, and have to pass through 2 layers of variables to open a file? Python: open(filename,r/w,0) Java: JSKALDAHSJKDHLSA; ASDJH(ASLDHJKLASH); ASJHDJAKSHDJHASD(); REALLYLONGBUFFERNAME();
    • by crummynz ( 818547 ) <crummynz@@@gmail...com> on Thursday March 17, 2005 @02:49AM (#11962738)
      After close examination of your Java code, I think I've found the reason you were having some problems.
    • Re:Already ditched (Score:5, Informative)

      by mabinogi ( 74033 ) on Thursday March 17, 2005 @03:01AM (#11962793) Homepage
      OutputStream out = new FileOutputStream(filename);

      next?

      (yes, I know it's still more typing than python, and I know you were tying to be funny, but Java really isn't that much work)
    • Re:Already ditched (Score:5, Insightful)

      by linguae ( 763922 ) on Thursday March 17, 2005 @03:17AM (#11962874)

      For small programs, Java can get very wordy and very verbose, especially if you coming directly from C/C++, or from a language like Perl or Python. It does get annoying at first, typing in public in front of nearly every class/method and having to type in System.out.println when a simple printf() or cout or print would do suffieiently in another language. However, once you start making larger programs, Java isn't that bad, and all of those words are there for a reason. It starts making sense after a while, and it really is a nice language, once you grasp the OO concepts and get past some of the annoying differences between Java and C/C++/Python/whatever. It gets really convenient when playing around with Swing.

      Put it like this, I'll bet you that you'll want to code in Java long before you want to code in Visual Basic, or even worse, COBOL. If you thought Java was verbose, Visual Basic is even more verbose, and COBOL takes verbose to another level....

      • I wrote a brief article on systems that scale down, with programming languages in mind. You are correct that all the Java baggage comes into its own when you start writing larger programs, but for beginners, or people just wanting to whip something together, it is baggage.

        http://dedasys.com/articles/scalable_systems.html [dedasys.com]
      • Re:Already ditched (Score:3, Informative)

        by Kleedrac2 ( 257408 )
        Thusly why my default template in jEdit contains;

        public static void main(String[] args){

        }

        public void print(Object o){
        System.out.println(o);
        }

        Makes everything I write just that much easier ... I used to call the print method printf but had ppl use my template get confused (and make me feel old) :)

        Kleedrac
  • by bobdotorg ( 598873 ) on Thursday March 17, 2005 @02:18AM (#11962584)
    "Project Peabody" is really the code name for Sun's secret development of The Wayback Machine to send Scott McNealy back to a time when Sun was relevant.
  • by gitana ( 756955 ) on Thursday March 17, 2005 @02:20AM (#11962589) Homepage
    signs point to yes
  • by CompotatoJ ( 848808 ) on Thursday March 17, 2005 @02:21AM (#11962592) Homepage
    "Sun has elected not to use an open-source license at this time because its commercial customers are concerned with "forking," or the creation of incompatible editions of the base Java software" Currently, Java seems to be close to, if not the lead in cross-compatibility. They do not seem like they want to lose their integrity as a stable cross-platform language.
    • If there is a fork of Java, it would only seek to improve Java, not change its compatibility. If the fork broke compatibility with Java (Java 2 or Java 5), no one would use it because it wouldn't work with the applications currently written in Java.

      If Sun wants to control Java's development after it opens it, then it is not true open-source.
    • Patches, surely (Score:3, Interesting)

      by m50d ( 797211 )
      It seems to me there's a completely obvious solution to this: only allow patches against their version to be distributed, not already-modified versions. And don't let modified versions use the trademark. That way it would be completely obvious which was the real java.
    • by Baki ( 72515 ) on Thursday March 17, 2005 @03:02AM (#11962798)
      Others might argue that the same forking might happen to PHP, perl etc. However, do not forget that MSFT actually has tried to fork an incompatible version of Java, they never tried such a thing with other 'cross-platform' language.

      Why? Because Java is the only real threat. Java's real importance is in 'enterprise' development; many large companies have been developing in Java for the last 3-5 years, the importance of Java in such environments dwarfs any other development platform, except maybe for cobol. Thus Java remains the most likely target for sabotage actions, and needs to be protected vehemently.

      Especially now that Java is in direct competition with .NET, further sabotage actions are not unlikely. .NET is just as protected, if not more (also protected by patents probably). For Java at least the spec is open: anyone may make an alternative implementation. For .NET there is no open formal spec at all, and alternative implementations have an unclear legal status.
      • by civilizedINTENSITY ( 45686 ) on Thursday March 17, 2005 @03:21AM (#11962895)
        .NET is just as protected, if not more (also protected by patents probably).

        Mono Developer Meeting [oreillynet.com]
        Miguel and Novell legal staff are currently conducting a formal patent review of mono, and the team had already split up the components of mono into separate ECMA-based and non-ECMA components (WinForms, ADO.NET, etc) to clearly define what RedHat and others could make use of. Importantly, Miguel also said that Ximian had a letter from Microsoft, Intel and HP stating that they would offer *royalty-free* RAND licensing to the ECMA-submitted components of .NET.
      • by killjoe ( 766577 ) on Thursday March 17, 2005 @03:46AM (#11962980)
        MS did fork java, they called it C# and .NET.

        Ms no longer cares about java now that they have their own version of it.
        • by Baki ( 72515 ) on Thursday March 17, 2005 @06:34AM (#11963433)
          Of course MSFT would not openly adopt java and modify it again, since officially they are using .NET. However since .NET and Java are in fierce competition, for enterprise development .NET is still in its infancy but MSFT is trying to change this, I could imagine MSFT to sponsor or otherwise help 'grassroots' development of competing java versions.

          These versions of course would add some candy to attract developers (such as operator overloading) while destroying the 100% compatability that java offers, creating confusion and thus discrediting java for enterprise development.

          By the way, someone wrote that .NET is open and specified at ECMA. This is not entirely true: Only C# the language and CLR the VM are, but .NET including its framework and libraries are not (e.g. windows forms). For Java OTOH, the complete JDK, i.e. everything you need to build applications not only parts of it, is openly specified and available cross platform.
      • For Java at least the spec is open: anyone may make an alternative implementation. For .NET there is no open formal spec at all, and alternative implementations have an unclear legal status.

        While I do not disagree with your argument on why Java needs to be protected, your statement that there is no formal spec for .Net is just ignorance. The specification for .Net and CLR is probably more formal (ECMA standards).

        From the microsoft site:
        The Common Language Runtime (CLR) is Microsoft's commercial impleme
    • by Xtifr ( 1323 ) on Thursday March 17, 2005 @03:11AM (#11962845) Homepage
      Let's see: we have kaffe, gcj, and a handful of other open source attempts to clone java, all of which are not exactly one-hundred percent compatible, and none of which would exist if java had been open source in the first place. We have MSFT pushing their own completely incompatible java-like system.

      Now, lets look at some fairly popular languages that have been open-source since the beginning: perl, python, tcl, ruby. Gee, not one of them has shown the faintest sign of forking. My conclusion? Sun is run by a bunch of idiots. (Really too bad, because I used to be a big fan back in the eighties.)
      • by LarsWestergren ( 9033 ) on Thursday March 17, 2005 @03:29AM (#11962914) Homepage Journal
        Think about the "fairly popular" bit. None of these languages have become as prevalent as Java. With the industrial adoption of Java has come a huge pressure to add more stuff to it, and an increased possibility of forks when people don't get what they want added. See the many different scripting add on libraries for instance.

        We have MSFT pushing their own completely incompatible java-like system.

        Imitation is the sincerest for of flattery. Microsoft has cloned Java, and now you are going to blame Sun for the fact that it isn't 100% compatible.

        Let's see: we have kaffe, gcj, and a handful of other open source attempts to clone java, all of which are not exactly one-hundred percent compatible, and none of which would exist if java had been open source in the first place.

        I think you have to explain your reasoning a bit here, because no matter how I try to read this it sounds like you contradict yourself.
        "Open source versions are forked. Therefore, if it had been open source there would be no forks"?
        • by Xtifr ( 1323 ) on Thursday March 17, 2005 @05:08AM (#11963197) Homepage
          Think about the "fairly popular" bit.

          Ok. I'm thinking of perl. I'm thinking about various systems I've seen and worked on over the last couple of decades. I'm thinking "fairly popular" is a pretty serious understatement when talking about perl. Tcl/Tk? Maybe not so much, but I've still seen lots and lots of it running behind the scenes on all sorts of systems. Python? Ok, I haven't seen much enterprise penetration there. Yet. But it's pretty new, relatively speaking. And it's already got zope, plone and gnue, and looks like it's only going to be growing from there. (Anyway, I can hope, 'cause python sure seems to me to suck less than perl, java, or tcl.)

          Microsoft has cloned Java

          From what I've seen, they haven't merely cloned it, they've actually improved on it. I know, a blasphemous thing to say on /., but I really don't care.

          I think you have to explain your reasoning a bit here.

          Ok. I didn't think it was that tricky of a thought, but since you ask.... Kaffe and gcj are not forked from each other, they're forked (very loosely speaking) from the design of their not-open-source predecessor. Nobody is trying to fork kaffe or gcj - they're already open source, so there's no particular reason to fork them. And if java had been open source from the start, there never would have been any reason to create these competing projects.

          Ask anyone involved with either project (kaffe or gcj) if they would have even considered working on those projects if java had started as open source! If java had been open source there would be no kaffe or gjc! Period! I don't know how I can explain it any more clearly than that!

          And, for that matter, if java were open-sourced, even at this late date, I would expect to see kaffe vanish almost instantly, and I wouldn't place any bets on gcj's long-term prospects.
      • Isn't ActiveState's Perl and Python distrubtions forks? They implement functionality that isn't by default in the original perl source.

        If i'm wrong, I apologize.
      • by JimDabell ( 42870 ) on Thursday March 17, 2005 @05:54AM (#11963337) Homepage

        Now, lets look at some fairly popular languages that have been open-source since the beginning: perl, python, tcl, ruby. Gee, not one of them has shown the faintest sign of forking.

        Actually, there are at least six forks of Python:

        • CPython (the canonical version)
        • Jython (compiles to Java bytecode)
        • Psyco (JIT compilation of a sort)
        • Pypy (Python implemented in Python)
        • ActivePython (ActiveState's fork)
        • IronPython (compiles to .NET bytecode)

        In practice, it's not much of a problem, I don't see why people are so scared of forking.

    • This is the biggest problem with open source for me. The problem of people creating forks. There are times when multiple forks are not desired.

      I have written a library which is only practical to have one installation on a machine, and one interface defined. Multiple incompatible versions of this library would cause huge problems, or be very wasteful. It would also take away control from the original developer, which isnt fair, and a major motivation to *not* open the source.

      What license can I use that wou
      • by R.Caley ( 126968 ) on Thursday March 17, 2005 @05:01AM (#11963180)
        What license can I use that would effecively prevent forking, but at the same time be open source?

        By definition of the term `open source' as it is used now, it means that people can get, change and use the source and at least with some restrictions redistribute the resulting changed version.

        I.e. `open source' more or less means `you can fork'.

        The solution is perhaps to grow up and stop wanting to keep control. Life is to short to worry about that kind of thing.

        And, of course, the fact that control is not enforced by the licence doesn't mean that there will be no central control. I think most people would say that Linus has reasonable control of the future of the linux kernel, dispite the fact that anyone could fork it, and many do for special purposes.

        Consider XFree86 vs X.org for an instance of why the ability to fork is a good thing. Sometime when you get bored with working on your library, or fall under a bus, someone else with enthusiasm can take over, and if they do a good job, their branch will take over from yours and, assuming it wasn't a bus, you can go off and do whatever you are more interested in doing at that point.

  • by Jovian_Storm ( 862763 ) on Thursday March 17, 2005 @02:23AM (#11962606) Homepage
    Slightly off-topic, but what impact will Sun's open-sourcing of the JVM have? We already have several Open Source JVMs, Kaffe and IBM's RVM(Research Virtual Machine). Since the Java specs are anyway open, is there any point if Sun opens up the JVM implementation?
    • Slightly off-topic, but what impact will Sun's open-sourcing of the JVM have?

      An irrelevant question, since Sun has no plans to open-source their VM.

      Since the Java specs are anyway open, is there any point if Sun opens up the JVM implementation?

      Writing your own implementation is really, really hard. Especially since the "spec" doesn't specify everything. So in the near future Sun-derived VMs will be the only complete ones.
      • Writing your own implementation is really, really hard. Especially since the "spec" doesn't specify everything. So in the near future Sun-derived VMs will be the only complete ones.

        Sun is marketing Java as the only real cross-platform solution. Therefore proper cross-platform support for the JVM is of key importance to them.
        Extending the JVM in such a way that it would break third party (i.e.: mostly IBM's) implementations would be very counterproductive as they have no interest in supporting every plat

      • 1. Remember that jvm and library is different. There are good OSS JVMs, but the libraries are a trouble spot.

        2 All the main OSS libraries build and run on Kaffe, including things like the SWT window toolkit, xerces parser, etc. Look at the Gump to see how well it is going: http://brutus.apache.org/gump/kaffe/ [apache.org]

        3. A lot of focus in the gump/ant dev groups is about improving gump builds. If we can clean build the OSS stack on the OSS platform, we will be independent of Sun.

        4. the big issue with libraries i
    • Kaffe is up to what, java 1.2 with a bit of 1.3 compatiability? A free 1.5 implementation would be a lot better.
  • Because it doesn't need to. Java is now so big and so corporate that stability is far more valuable to its constituents than innovation.
    It will be the development system of choice for corporate development for another decade, providing jobs for all the new and soon-to-be CS graduates who aren't taught anything else. Yet Java is already completely ossified.
  • zerg (Score:3, Funny)

    by Lord Omlette ( 124579 ) on Thursday March 17, 2005 @02:26AM (#11962619) Homepage
    If it were up to me (I know it's not, so shut up ;_; ), I would put it in the public domain and pretend I wasn't the one who wrote it. Then I'd be all "Oh wow, Java's so cool, you can even download all the source code for it!"

    And then I'd get featured on slashdot as "Sun's Java Went Open Source" instead of some silly speculation that Sun might make up some magical license that lets you look at the code but not do anything w/ it.

    Will open sourcing Java source code mean that the language will get submitted to a standards organization like ECMA or ISO or something?
    • Re:zerg (Score:3, Informative)

      by morzel ( 62033 )
      some magical license that lets you look at the code but not do anything w/ it
      "Open Source" can be exactly that (getting access to the source code)
      If you want to be able to do something with the code and distribute the end result you should look at "Free Software".

      By definition Free Software is Open Source but not necessarily vice versa.

      • Re:zerg (Score:5, Insightful)

        by Anonymous Coward on Thursday March 17, 2005 @04:00AM (#11963014)
        "Open" means not merely "affording unobstructed view", but also "unrestricted as to participants", "available for use", "obtainable", and "without restrictions".

        So, your objection is that the "open" in "open source" can be interpreted to mean merely available to be viewed, despite the other meanings of the word open. Which is no worse than the problem "free" has, in "free software", since gratis software is quite common.

        Here's the thing -- a random member of the public, hearing the word "free software", will immediately jump to the conclusion that it doesn't cost anything. Especially since the way the word is most often used in the media as "gratis", and since the Windows world is full of "freeware" -- most of it low quality software that supports the proposition "you get what you pay for".

        The same person will not have any idea what "open source" means, since he is unlikely to even know what source code is. Instead of being misinformed by the term, he will notice there is something here he doesn't understand.

        Which is better, from a public-education point of view? The term that immediately misleads your audience from what is meant, or the term that is a semantic nullity, in which you can pour meaning?

        Hint: they're less likely to listen if you tell them their first conclusion was wrong than if you don't have to tell them they were wrong.
  • by Anonymous Coward on Thursday March 17, 2005 @02:32AM (#11962655)
    Sun is in trouble because GCJ is getting so much better. It has a strong chance of becoming the "defacto" version on Linux very soon. RedHat engineers already have Eclipse built and running on it, and tightly integrated with Gnome and Glade development. It's starting to look really nice, and SWT compiles natively into Linux binaries. Sun will likely maintain the lead on Windows pretty easily, but they stand a big chance to lose out to GCJ on Linux. No biggie, because Linux isn't a real server platform after all, right Sun? ;)

    If Sun wanted to make themselves insanely relevant very quickly, they would fully embrace Debian and support it extremely well. Then, they should work to standardize on http://www.autopackage.org/ [autopackage.org], or something very similar to it. Then, they should work to get Java much better integrated into Firefox and vice versa. Here is a good article on it the level of integration between the JVM and the browser, which is just pathetic at the moment:

    http://www.softwarereality.com/soapbox/swing.jsp [softwarereality.com]

    I wish there were a sane event model to share between Java and the Browser so that I could use the browser as a display technology and have access to all of the Java class libraries for networking and such.
    • Then, they should work to standardize on http://www.autopackage.org/ [autopackage.org] [autopackage.org], or something very similar to it.

      JPackage [jpackage.org] perhaps? :-)

      There is also a popular request for enhancement here [sun.com]urging sun to make the Java RPM play better in Linux, i.e. respecting the filesystem standards for where to place documentation etc.

      I doubt that GCJ is going to take over on Linux though. Not that they aren't doing FANTASTIC work, but there is still lots of catching up to do and Java is a moving target.
    • by lokedhs ( 672255 ) on Thursday March 17, 2005 @05:29AM (#11963258)
      Sun is in trouble because GCJ is getting so much better
      Why would an omproved GCJ put Sun in trouble? They're getting another Java implementation done for free == more Java == good.

      Now if you say they are afraid that if they BSD-license Java and then end up having the GCJ team dictating what Java is and is not, then yes. That is exactly what Sun means when they say there is a potential problem with forking.

  • by NutscrapeSucks ( 446616 ) on Thursday March 17, 2005 @02:32AM (#11962658)
    As soon as Java goes open source, I plan on forking it. Job 1 will be to add first class support for COM and XPCOM objects. After that's done, I'm planning on adding Delegates for event-driven programming. Good RAD-Designer support is important too.

    Of course, there might be some minor incompatibities with other JVMs, and the initial releases will be Windows-only, but since Java is such a neat and productive environment to program in, I think people will overlook these issues. Anyone interested in joining this project, please contact me.
    • I expect that if Java goes open source, any unauthorized forks which may arise will not be able to be called Java, or even openly claim interoperability with Java. as Java will still be a trademark owned by Sun.

      You may be able to get away with calling it a virtual machine suitable for running browser applets and other highly machine independant code.

    • That's nice, but if it's properly open-sourced (i.e. GPL), MSFT's not going to touch your "fork" with a ten-foot pole. So, you're not going to get rich quick or anything. And it's not going to gain you very much, since you already have the capability of building that system, since java supports linking to external libraries. So, you'll have this system that you'll use to...do what, exactly? Hey, good luck with your project, dude, hope you have fun.

      Having support for COM/XPCOM/whatever has really destro
  • Get informed (Score:5, Informative)

    by BortQ ( 468164 ) on Thursday March 17, 2005 @02:34AM (#11962670) Homepage Journal
    Anyone who reads Jonathan Schwartz's blog [sun.com] will know that Sun is gonna open-source java. He's been hinting about it for a while now, interspersed with hyping up the open-source release of solaris. Sun seems to understand that going open-source is there best chance of survival in the software world.
  • by linguae ( 763922 ) on Thursday March 17, 2005 @02:46AM (#11962725)

    It would be great if the Java JDK were open-source, or at least distributed with a less restrictive license. Installing Java on "unsupported" platforms is a nightmare. Take FreeBSD, for example. First, I have to install the Linux version of Java, because for some reason, the native Java port requires the Linux version for bootstrapping purposes. Next, I have to manually fetch the sources for Java from Sun (since Sun prohibits redistribution other than from Sun's site, and the latest precompiled package for Java is for FreeBSD 4.x, which doesn't work under FreeBSD 5.3; not to mention that I can't really do anything with the sources other than compile them; the license is very restrictive). Finally, I have to compile them, which took me 18 hours to compile on my computer (I'm not trolling; the fastest computer I own is a 475MHz K6-2 with 64MB RAM; I'm poor). For Sun to advertise that programming in Java is about "writing once and running everywhere," I guess "everywhere" is defined by Sun's view on the world. The only reason why I compiled the JDK in the first place is because I need it for my upcoming classes.

    It would be great for all developers if Java were open sourced under an agreeable, OSI-compliant license. Developers of "unsupported" platforms would be able to port the JDK to their favorite operating systems (and redistribute sources and binaries of the JDK, too), which would raise the number of developers using Java, which in turn raises the number of people using Java-based applications. Next, I don't think Sun has to worry much about Java being forked. Look at C, C++, Python, Perl, and Ruby. C and C++ are ANSI-certified, and Perl, Python, and Ruby are open source. As far as I know, there aren't any forks of C, Perl, and the other languages that I've listed.

    In the meanwhile, I wonder how good are the free, open source interpretations of Java and how they stack up to the Sun JDK?

    • by jab ( 9153 ) on Thursday March 17, 2005 @04:04AM (#11963025) Homepage
      I have to agree, a true open source Java would be a major improvement. On my platform (Debian) I can install python or php or haskell or gcj trivially, and the package maintainers makes sure any rough edges are smoothed out. The net result is it all just works.

      Yesterday, I tried to install Java because a colleague is developing a web application with a Java component in the browser, and I wanted to try it and maybe help him out. That meant installing a Debian helper package. Then manually downloading Java, clicking through some license agreement nobody reads. Running the helper package, typing answers to questions, paging through the same license agreement in the terminal, having to type out "yes" and hoping things work. Not impossible, but at least 10X more work than every other piece software on my system, especially if I want to keep up to date with point releases

      And of course it ended up not working - my Firefox still refuses to run Java for some reason. I ended up taking the path of least resistance which was VNC to a Windows computer - a pathetic and painful workaround. Normally I'd file a bug and the package maintainer would smooth out these system integration issues, but Sun's redistribution terms are preventing that. To add insult to injury, I think I remember reading that Sun sued Microsoft for NOT distributing Java at one point, which makes me wonder about corporate schizophrenia. If Java were true open source, I'm confident things would finally get smoothed out and I'd be much more inclined to develop for the platform and trust that it would always be there for me.

      Furthermore, there's now a few useful open source programs written in Java that also get hampered. For example, the Lucene search toolkit can't currently be built without Sun's SDK. Therefore, it can't run on the Debian autobuilders and gets relagated to second class citizenship status. As both a proprietary and an open source software developer, my life would be easier, happier and I'd be far more Javaphilic (as opposed to just plain grumpy) working on an open source platform.
  • YAY! (Score:2, Insightful)

    Acknowledged, Java has some downfalls (slow, etc) and it is not a native programming language, but overall, Java is a great way to go. Java applications developped for a website is a powerful tool, instead of using php. And Java games are very popular in the cell phone industry right now, not flash. Overall, I think the possibilities that Java offers are enough in itself to warrant making it open-source. But I'm biased... I just started learning it.
  • by nate nice ( 672391 ) on Thursday March 17, 2005 @03:15AM (#11962864) Journal
    Considering that Byte Code is essentially open, you can construct a language how ever you want and have it compile to Byte Code so that the JVM will execute it. So, in this regard it's open.

    As for opening it to a standards committee, I hope Sun never takes this route. The committee mind for just about anything is terrible. Many great artists won't work with committees and I think Java is better served if Sun calls the shots on it.

    I don't know much about the licensing of J2EE but for people that don't want to pay (do you have to?) you can always use something else or pay for .NET.

    I don't care one way or the other really if Sun "Opens" Java but I'd rather them or a small group of people call the shots on the language. Gosling et all for instance. Whatever they do, I hope Java doesn't fall victim to ANSI or IEEE or whatever as the language will never advance.
  • by Ranx ( 28829 ) on Thursday March 17, 2005 @04:46AM (#11963149) Homepage
    Until now, you are only allowed to distribute the JRE with Java software. This has always been an problem for creators of Linux distributions who like to include Java in their distribution.

    I seems Sun is gonna change their license at this point so every Linux distribution can distribute the JRE and support Java out of the box.

    This is probably the most important part of the license change and I hear nobody about it.
  • by Macrat ( 638047 ) on Thursday March 17, 2005 @04:46AM (#11963150)
    Java is crossplatform. Runs on Windows 2000 AND Windows XP.
  • by CaptainPinko ( 753849 ) on Thursday March 17, 2005 @05:06AM (#11963195)
    Java is a langauge and say it is prorietary is like saying C or C# are proprietary. I have read the freely available documentation on Java and you'd be surprised how complete it is. There is no need to reverse engineer anything since JavaDoc spells it all out for gou, and heck Sun provide the source code to the files too! It bugs me that people perfer Mono'a C# over Java because it's "more free". Well it's only free because people coded it up. If they spent half the time coding a JVM that they've spent coding a Mono they'd be done years ago. And if Sun keeps their own implementation proprietary, well they own so let them. You can use IBM's or Apple's or your own. Why don't people stop using C since Intel still offers it's own closed source compiler? Java is really spread wide open from letting people participate with JSR (though just like in democracies unless you are with someone big you won't get heard.. but you are free to try), and even poke around with the source. Is there some big piece that I'm missing that would bother anyone besides GPL Zealots?
    • by k98sven ( 324383 ) on Thursday March 17, 2005 @07:06AM (#11963525) Journal
      Java is a langauge and say it is prorietary is like saying C or C# are proprietary.

      Wrong. There are many implementations of C. There are three of C# (excluding the runtime).

      There is no need to reverse engineer anything since JavaDoc spells it all out for gou,

      No it doesn't. Sun's documentation is terrible in lots of places.

      and heck Sun provide the source code to the files too!

      Looking at Sun's sources if you want to make your own implementation is legal suicide.

      It bugs me that people perfer Mono'a C# over Java because it's "more free".

      It IS more free (see below).

      If they spent half the time coding a JVM that they've spent coding a Mono they'd be done years ago.

      Well, I would certainly like to to see more resources go towards free Java development, but the missing thing at the moment isn't a VM. There are lots of free JVMs (gcj,kaffe,jamvm,sablevm,jikesRVM,cacao and so on), some of which are quite mature.

      The missing part is the class library.

      You can use IBM's or Apple's or your own.

      These are not seperate implementations; They all use Sun's code, notably the class library. They are all covered by the same licensing restrictions set by Sun.

      Is there some big piece that I'm missing that would bother anyone besides GPL Zealots?

      Yes. For instance, what if you'd like to include the install of the runtime in your own installer? Can't do it.

      What if you do embedded work and would like to exclude the parts of the runtime you don't need in order to save space? Can't do it.

      What if you do find a bug in Sun's code, and include a work-around in your code? Bravo. You just violated Sun's license.
  • by jonwil ( 467024 ) on Thursday March 17, 2005 @08:51AM (#11963912)
    How to make sure any released "derived works" of their JRE, JVM and JDK are 100% compatible with their official releases.
    Look at what happened with microsoft, they took the sun JVM and did an "embrace, extend and break 3rd party compatibility" act on it and so Microsoft (up until sun forced Microsoft to remove it) was shipping a JVM that was incompatible with the official VM from sun (and people actually built java apps that only work on the Microsoft VM)

    What sun should do (IMO) is to release the code under an Open Source licence. BUT, if you want to use the sun java trademark (e.g. to represent that what you have released is a java VM or whatever), you need to pass a compatibility test and get a stamp from sun. Then, they could release the compatibility test to the world so that everyone can test their code before it goes to sun for approval. The same test could apply to any java VM or compiler (e.g. GCJ).

    People who want to modify (and share modifications to) the JDK, JRE and JVM can do so. (e.g. people wanting to port the JRE/JDK/JVM to a new platform/OS)
    People who want to try out "unapproved" modifications can do so (with the full knowledge that they arent official and may not be 100% compatible with the official sun releases)
    People who want "java" so they can run java apps can feel safe and only download stuff approved by sun.
    If the licence was like GPL where source must be
    released if binaries are released, it would help prevent what happened with Microsoft and the MSJVM (since any incompatible modifications would mean that you wouldnt get approval and couldnt call it "java" and also any modifications you make would need to be returned to the community).

    Because of the rules for the use of the java name, there would be every incentive for anyone making changes to the JRE/JDK/JVM to do the compatibility test and get their changes approved (the licence, the trademark licence and the other factors would work against any incompatible forks showing up especially since companies like MS with an interest in incompatible forks would not want to use code under a licence like the one I suggest)

    Developers would have a big incentive to write 100% compatible java code (since they would be instantly able to see that their development setup is not "compatible" and unless there is a good reason to use that incompatible VM (e.g. like what happened with the MS VM being used because it was shipped with windows, IE etc), they would be more likely to choose one that had the "java" name and sun "seal of approval".

    And by having a dual licence and/or a "copyright assignment" like OpenOffice/StarOffice, they could also continue offering commercial licences for java like they do now (just like they use outside code contributions to OpenOffice in the commercial StarOffice product)

    There are probobly holes in my plan somewhere through, something I havent thought of.
  • debugging VM bugs (Score:3, Interesting)

    by Pastis ( 145655 ) on Thursday March 17, 2005 @09:11AM (#11964021)
    One of the key thing that opening Java would give is the possibility to debug issues ourselves.

    For example I have crashes with the official Sun's VM. I am unable to debug the problem properly without access to the code (and I won't do that with a proper license). For sun I have to go all the way to create a test case, which is not easy when it comes to isolate a problem in a complex application.

    I am sure I would go faster with access to the code. Instead of spending time making a test case, which I am not sure Sun is going to have a look at.
  • by null etc. ( 524767 ) on Thursday March 17, 2005 @10:36AM (#11964643)
    One nice thing about an open source Java is that maybe Sun's marketing clowns would have less input into the "naming" of Java.

    Java 1.1 = Java
    Java 1.2 = Java2
    Java 1.3 = Java2 version 1.3
    Java 1.4 = Java2 version 1.4
    Java 1.5 = Java2 version 5?!?!?!

    I mean crykies, I'm almost in fear of what Java 1.6 will be named. And prepare to move into a bomb shelter when Java 2.0 comes out.

  • by BigGerman ( 541312 ) on Thursday March 17, 2005 @11:31AM (#11965118)
    Recently I discovered a Gentoo feature that now IMHO makes it the most enterprise Java friendly distro.
    Besides supporting bunch of JVMs, Gentoo integrates all the Java stuff in Gentoo way: you can just "emerge jboss" and you will end up with a complete server environment with all the scipts, etc. Very nice.

Stellar rays prove fibbing never pays. Embezzlement is another matter.

Working...