Please create an account to participate in the Slashdot moderation system

 



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:
  • by blackhedd ( 412389 ) on Thursday March 17, 2005 @02:24AM (#11962607)
    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.
  • 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.
  • by Anonymous Coward on Thursday March 17, 2005 @02:34AM (#11962666)
    By "simpler", do you mean "not compatible with all applets"? It's hard to imagine what features you could take out and still be compatible.
  • by serps ( 517783 ) on Thursday March 17, 2005 @02:48AM (#11962728) Homepage

    You can say that with a straight face, after the debacle with Microsoft's J++ Runtime of Incompatibility?

    You may have heard of the court case. Took years to resolve. Somehow, I think Sun has learned its lesson about relinquishing control over what is, and isn't, Java(tm)./p.

  • YAY! (Score:2, Insightful)

    by thegamerformelyknown ( 868463 ) on Thursday March 17, 2005 @02:50AM (#11962745) Homepage
    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 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 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.
  • 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....

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

  • 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 aesiamun ( 862627 ) on Thursday March 17, 2005 @03:37AM (#11962949) Homepage Journal
    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 MillionthMonkey ( 240664 ) on Thursday March 17, 2005 @03:49AM (#11962984)
    Both Microsoft and Firefox have made UI enhancements to make it more difficult for users to just reflexivly click "Yes" on every modal permission dialog that pops up. I think it's perfectly fair to hold Java to the same standard

    You're clearly just trying to save face if this is all you can complain about. Not all vulnerabilities involve users clicking Yes in security dialogs.

    since it turns out that Java really is not safer than "native" extentions like ActiveX or XUL or Plug-ins (despite years worth of propaganda saying otherwise).

    The "years worth of propaganda" was probably referring to Java's immunity to buffer overflow vulnerabilities and other attacks that exploit the machine-level details of C-style calling conventions. Or it could have referred to the sandbox security model under which applets can be run safely without even requiring a security dialog- as opposed to ActiveX for example, which is typically implemented in "unmanaged" (but digitally signed) C++, has a security model consisting of nothing but a security dialog, and which must run either with full privileges or not at all- based on whether you feel you can trust the author. You can run Java code in a sandbox and not have to trust anybody. The sandbox has such restrictive security, in fact, that it partly (along with install base and JDK versioning issues) led to the demise of applets relative to ActiveX.
  • 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 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.
  • 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 steve_l ( 109732 ) on Thursday March 17, 2005 @05:03AM (#11963191) Homepage
    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 is testing compliance. One thing we want is for sun to open up the TCK for Java so that OSS implementations can test against the official java TCK

    5. Although the TCKs are opening up, it is patchy and trouble. TCK access is only under NDA, which makes it hard to broadly test and debug, which is what OSS relies on.
  • 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 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 Anonymous Coward on Thursday March 17, 2005 @05:33AM (#11963266)
    While the parent was marked as a troll, I think the author was actually serious.

    Here's some more facts:

    + In bed with Microsoft? That would be why they produce StarOffice - a competitor to MS's main cash cow.
    + In bed with SCO? Sun really doesn't seem to want any more lawsuits - that's why they bought a SCO licence, and that's why they paid off Kodak.
    + Despite you whining bastards constant Sun-bashing, Sun has tried to be nice to the OSS community - there's no way they're going to start lawsuits - see the comment above, too.
    + Sun's licence is incompatible with the CPL entirely because they don't want Solaris merged into Linux, and can you blame them?
  • Re:Already ditched (Score:5, Insightful)

    by say ( 191220 ) <<on.hadiarflow> <ta> <evgis>> on Thursday March 17, 2005 @07:37AM (#11963631) Homepage

    You know, that is an annoyance just because you do not use object orientation much. Java is strongly typed, and it has a lot of advantages. A quite usual way of creating a new variable is:

    Car redCar = new Porsche();

    Or the more familiar:

    List list = new ArrayList();

    This does also enable stuff like:

    Person p = list.get(1); // even if all objects in list are Man and Woman objects!

    If you don't understand the advantages of this kind of casting, you don't understand object orientation, and therefore, you don't need Java.

  • Re:Already ditched (Score:3, Insightful)

    by CastrTroy ( 595695 ) on Thursday March 17, 2005 @08:12AM (#11963750)
    Catching exceptions is more important than you think. After programing in VB.Net, I have to say, I love Java's exception model. In VB.Net, you never know what exception a function might throw, and short of reading all the documentation, it's kind of hard to tell which exceptions are going to be thrown. I like that Java forces you to do something about a problem that may happen, instead of hiding it until it pops up in runtime, when it's impossible to do anything about it.
  • by Anonymous Coward on Thursday March 17, 2005 @08:20AM (#11963786)
    Many people don't realize that Sun is beginning to cash-in big amounts of dollars from Java. That's because any Java-enabled Phone, PDA, Digital TV set-top-box, or gadget-du-jour means a royalty to them, up to $1/box. There are already several millions of these gizmos, and a lot more are to come in the next years with the advent of HDTV. Sun is even lobbying to put Java within DVD players (in order to replace the crappy system used to author interactive menus, that is).

    Why on earth would they open-source something that looks like the next goldeen goose ? That would be pure business suicide.

    Waken up people. It's all about the money ! Not about "forking" and other stupid claims made to distract the open-source zealots from the real issue.

  • Re:Already ditched (Score:4, Insightful)

    by MemoryDragon ( 544441 ) on Thursday March 17, 2005 @08:58AM (#11963947)
    Actually checked exceptions are a good thing, sorry to say that. A checked exception basically forces you to do something. The main problem unchecked exceptions have is, that they fall on your head at code parts you would never expect them to occur and thus take your program with you. One of the main reasons why java programs are so stable is the excessive use of checked exceptions. With every step you know which errors can occur and you are forced to do something abou it. The downside of this is, that you basically have 20% more code which is dedicated to error handling at the stages the error can occur.
  • java vs. .NET??? (Score:2, Insightful)

    by jonathanduty ( 541508 ) on Thursday March 17, 2005 @09:53AM (#11964268) Homepage
    I've never understood the argument that open-sourcing java will convince people to choose it over .NET? Why would someone choose .Net over java because java is not open source?
  • Scripting? (Score:2, Insightful)

    by atlacatl ( 161963 ) on Thursday March 17, 2005 @10:51AM (#11964790) Homepage
    Web open-source scripting tools, such as PHP You can't make a fair comparison between the Java technology (whatever that means) and PHP.

    PHP has its uses and Java has its uses. And Java is not a scripting language. Just because you can deploy a web site using JSP, you can't put Java in the same category as a web scripting language, me thinks.
  • 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.

  • Seriously? (Score:2, Insightful)

    by razmaspaz ( 568034 ) on Thursday March 17, 2005 @12:40PM (#11965808)
    Java, which faces ongoing competition from Web open-source scripting tools, such as PHP

    Is that a joke?

    I mean PHP is great and all, but are there really fortune 500's out there going "you know what lets replace our entire java infrastructure with PHP"?
  • by unoengborg ( 209251 ) on Thursday March 17, 2005 @12:40PM (#11965810) Homepage
    The URL in parent should have been:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_i [sun.com]d =4799499
  • Re:Already ditched (Score:3, Insightful)

    by one9nine ( 526521 ) on Thursday March 17, 2005 @12:56PM (#11965976) Journal
    A checked exception basically forces you to do something.

    Yeah, this:
    ...
    catch(SuperTerrificCheckedException e) {
    /*
    * I'm too lazy to figure out what to do here,
    * so I'll just leave it blank for now.
    */

    }
    And you're worse off than with an unchecked exception that isn't caught.
  • Re:Already ditched (Score:3, Insightful)

    by msuzio ( 3104 ) on Thursday March 17, 2005 @02:10PM (#11966946) Homepage
    Yes and no.

    If the "do something with it" looks like this:
    try
    {
    someExceptionalMethod();
    }
    catch(Exception e)
    {
    }
    ...that's not going to help you, it's just going to make the compiler not complain.

    I actually make it a point to put in a comment like "// do nothing, this is OK" when I do something like that, so it's clear to the next programmer that I meant to just shut up the compiler, and I've either got a case that I know doesn't matter or cannot happen because of other constraints.

"Here's something to think about: How come you never see a headline like `Psychic Wins Lottery.'" -- Comedian Jay Leno

Working...