Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Java Programming Sun Microsystems IT Technology

Sun will Open Java's Source 584

bckrispi writes "An announcement from Sun spokesman Raghavan Srinivas indicates that, contrary to what we've heard in the past, Java will be Open-sourced. "We haven't worked out how to open-source Java, but at some point it will happen," Srinivas said."
This discussion has been archived. No new comments can be posted.

Sun will Open Java's Source

Comments Filter:
  • Yeah, by IBM. (Score:1, Insightful)

    by Len Weaver ( 624069 ) on Thursday June 03, 2004 @10:38PM (#9331740)
    I doubt Sun will ever open source Java. If it happens at all it will be after Sun goes chapter 11 and is bought out by IBM.
  • Boon (Score:4, Insightful)

    by TWooster ( 696270 ) <twoosterNO@SPAMgmail.com> on Thursday June 03, 2004 @10:39PM (#9331741)
    This is an excellent boon for open source software. Even if we only get small portions of it, having open-source Java can only benefit the community.

    Thanks, Sun!
  • by G27 Radio ( 78394 ) on Thursday June 03, 2004 @10:40PM (#9331754)
    "We haven't worked out how to open-source Java, but at some point it will happen," Srinivas said."

    When I heard this earlier today I thought the same thing, this is a non-announcement.
  • opening questions (Score:3, Insightful)

    by rd4tech ( 711615 ) * on Thursday June 03, 2004 @10:40PM (#9331755)
    The Java community is split over whether open-sourcing Java is beneficial.
    I will probably be marked troll on this one, but I have to ask:
    How in the world can you be split over something like that?
    I mean, people will basiclly poke at the code and report you bugs.
    Other developers will request tons of features that they will point how easy are to be done.
    Everyone will be happy.
    It's not as if they are charging people for using the pure java language right now.

    However, others, including Sun, believe the main hurdle and concern is the future of the Java brand and compatibility.
    So, they are planning to be constantly changing the language then? What are they smoking?

    We haven't worked out how to open-source Java -- but at some point it will happen," Srinivas said. However, he noted "it might be today, tomorrow or two years down the road".
    Well, you start with a 19$ .com name, 200+$ /month for the hosting plan, and about scores of thousands $ for a 2 pages legal agreement. It shouldn't be that hard....
  • This is news? (Score:5, Insightful)

    by Tesser ( 177743 ) on Thursday June 03, 2004 @10:41PM (#9331759) Homepage
    Not to be a cynic, but "at some point" they will "somehow" figure out how to open source Java?

    And at some point I'll somehow figure out how to make a million dollars while sitting at home playing my Playstation, too.

    I fail to see how this qualifies as news.
  • by mrchaotica ( 681592 ) on Thursday June 03, 2004 @10:41PM (#9331760)
    "We haven't worked out how to open-source Java -- but at some point it will happen," Srinivas said. However, he noted "it might be today, tomorrow or two years down the road".
    This is useless. Considering how often Sun changes its mind, there's no reason to believe anything they say. It'll only be newsworthy when Sun actually does it!
  • faces of a coin (Score:3, Insightful)

    by Anonymous Coward on Thursday June 03, 2004 @10:43PM (#9331769)
    the optimist in me says "alright, about time." the pessimist in me says, "wait until it happens before rejoicing."

    I really hope they do open source java. it would let OSS improve the VM. it would make it evolve faster and allow more people to improve it.

  • ANSI/ISO (Score:3, Insightful)

    by NitsujTPU ( 19263 ) on Thursday June 03, 2004 @10:43PM (#9331770)
    Java is nice and all, but I still prefer that my programming languages be managed by a standards organization.
  • Not sure how? (Score:2, Insightful)

    by leprasmurf ( 561814 ) on Thursday June 03, 2004 @10:44PM (#9331775)
    I don't understand what trouble they are having with opening the source. Isn't as easy as publishing the source code?

    I guess I can understand the fear of losing the "write once, run anywhere" mentality, but if that's one of the main attractions to the language doesn't it stand to reason that people won't really veer to far off?

  • Re:Yeah, by IBM. (Score:5, Insightful)

    by 0racle ( 667029 ) on Thursday June 03, 2004 @10:44PM (#9331780)
    I really can't see any good reason for Sun to open Java or Solaris. They won't accept patches unless the copyright is assigned to them, and Sun will have a license that wont allow code from GPL work to enter Solaris or Java and vice-versa. If they really did, I would take it as more of a "We Give-Up" move just before everything falls apart. I personally would hate to see Sun go.
  • Re:Boon (Score:1, Insightful)

    by ameoba ( 173803 ) on Thursday June 03, 2004 @10:47PM (#9331792)
    Yeah... it might be free enough to at least get into Debian non-free.
  • by newhoggy ( 672061 ) on Thursday June 03, 2004 @10:50PM (#9331805)
    "We haven't worked out how to open-source Java -- but at some point it will happen," Srinivas said. However, he noted "it might be today, tomorrow or two years down the road"

    Instead of waiting two years, do it now when it counts most. If Sun feels some degree of uncertainty, then test the waters by open sourcing selective parts of the JDK - especially the parts of the Java libraries that are widely perceived to be neglected.

  • Re:In other news (Score:0, Insightful)

    by Anonymous Coward on Thursday June 03, 2004 @10:53PM (#9331818)
    Why is it any mention of DNF gets you an automatic mod up to Funny? Isn't that joke getting a little stale yet?

    Here you go mods, feel free to mod me up, up, and away for this little gut buster:
    In Soviet Russia, Duke Nukem Forever is already released!
  • by Anonymous Coward on Thursday June 03, 2004 @10:53PM (#9331824)
    So, they are planning to be constantly changing the language then? What are they smoking?
    I think they're worried about someone forking it. What they ought to do is release the Java code under the GPL but not give up their trademark on the Java name. That way, forked versions can't call themselves Java unless they meet Sun's existing compatibility criteria.
  • by k4_pacific ( 736911 ) <`moc.oohay' `ta' `cificap_4k'> on Thursday June 03, 2004 @10:55PM (#9331834) Homepage Journal
    It doesn't sound that challenging. Slap a CPL on it and dump it on SourceForge. I think they are trying to figure out a way to make it Open Source, yet still retain control over it and derive revenue from it. Sooner or later, they are going to realise that they only have three choices, none of which are very good (for Sun):

    1. Java is not open-sourced and falls out of use like most closed standards eventually do.

    2. Java is released as open-source and they lose control of it.

    3. Java is released under a pussyfoot-shared-source-with-lots-of-restrictions- but-we'll-call-it-open-source license which alienates the OSS crowd and causes open rebellion. Same outcome as #1, only quicker.

    Overall, it doesn't look like Sun can win with this.
  • by leshert ( 40509 ) on Thursday June 03, 2004 @10:55PM (#9331835) Homepage
    It's not nearly as big a deal as open-sourcing, say, Solaris, simply because it's not going to wreck a primary revenue stream for Java.

    I've wondered for a while where Sun makes money from Java, particularly enough to recoup what they spend on it. I can't imagine it affects sales of Solaris boxes that much.
  • by javacowboy ( 222023 ) on Thursday June 03, 2004 @10:59PM (#9331849)
    Call me paranoid or even a conspiracy theorist, but what if Microsofy is behind this? What if Microsoft, as part of their settlement with Sun, asked them to open-source Java so that they could embrace and extend it, and pollute it as they tried to before?

    How much do you want to bet that Java will be open sourced under a BSD-style license, and not the GPL.
  • Bad Move (Score:2, Insightful)

    by atehrani ( 785410 ) on Thursday June 03, 2004 @11:00PM (#9331853)
    I think Java is fine the way it is. Open Sourcing it will not bring any improvements and actually might hurt Java.
  • by Anonymous Coward on Thursday June 03, 2004 @11:04PM (#9331873)
    So, they are planning to be constantly changing the language then? What are they smoking?

    They HAVE BEEN constantly changing the language.
    they come out with a new jdk every like 6 months.
    and on the web side, you got jsp's, then struts, now jsf's.

    Its the number one reason i'm getting out of it.

    20something java programmer
  • Re:Benefits? (Score:4, Insightful)

    by iamwill ( 701094 ) on Thursday June 03, 2004 @11:04PM (#9331875) Homepage
    Not quite an accurate analogy... Java's a platform, so if they release the platform code, there's the potential that a grassroots inititive might cut the fat, and release Java Lite (Decaf). If not, just look for additional branches in the java hardware support tree. Linux is strong because it's fundamentally higher in the operating system food chain, running off a highly optimized kernel, on platform specific assemblers. Up until recently there haven't been many processors that have supported a native Java runtime, so everything's been run in a JVM. If anything, it's about performance and community involvement.
  • by shaitand ( 626655 ) * on Thursday June 03, 2004 @11:04PM (#9331880) Journal
    I disagree, there really is no value in sun controlling java itself.

    Sun own's the java brandname and wants to exploit that, that is there asset. If you want proof, look at the sun java desktop which has not the slightest thing to do with java.

    If turned over to the open source crowd java will be powerful and popular in no time. That means the word java will be used all the time, making sun's brand more powerful.
  • Re:In other news (Score:5, Insightful)

    by Anonymous Coward on Thursday June 03, 2004 @11:06PM (#9331886)
    Very Funny!

    People often don't realize how expensive/lucrative Enterprise Support is compared to the cost of H/W and S/w. Companies charge as much as 29-35% of the product cost as support per year and support is never discounted. i.e companies give away s/w and h/w worth a million and charge say 290k per year in support.

    Support/services is often the number 1 consideration in purchasing.

    So, I would not be surprised if sun's net revnues do not decrese after they opensource all of their s/w, including OS.

    Besides, why does Sun want to fix a bug for which there is no revenue tied? Sun might rather fix an obscure bug from a paid customer than fix the most popular bug. By opensourcing Java/ or OS, they will be opening a new maintenance channel for their platform while still making the same service revenues.

    In our company, Sun support team is respected and our IS claims it is worth all the cost.
  • by mrfibbi ( 695943 ) on Thursday June 03, 2004 @11:09PM (#9331897)
    I think that people who worry themselves over the ominous and supposedly inevitable "fragmentation" really need to take a second look at things.

    1-There are numerous examples of open source programming languages that have remained centralized and unfragmented, like Perl and Python.

    2-Because java depends on a uniform standard and VM, any attempts to split off or fork the source tree will die miserably due to a lack of compatibility with the massive pool of existing code and classes.

    3-In fact, there is actually LESS chance of fragmentation when Java lies in the hands of the public, first because it means that no one will start up a competing "openjava", a venture that would almost certainly lead to incompatibilities, and second because, as the example of the death of xfree86 shows, too much central and absolute control over software by a small group will inevitably anger developers and users alike, leading them to search for an alternative.

    Honestly, this is slashdot. You people should have more faith in OSS.
  • by Chester K ( 145560 ) on Thursday June 03, 2004 @11:10PM (#9331905) Homepage
    How in the world can you be split over something like that?

    The fear of a fork is what keeps the community split. A truly open source Java would have no restrictions against someone taking Java and extending it in a way that's incompatible with existing Java (remember when Microsoft tried to do that?). It would completely undermine the idea of Java as a stable universally-compatible platform to build on.
  • by j1m+5n0w ( 749199 ) on Thursday June 03, 2004 @11:12PM (#9331911) Homepage Journal
    How will this benefit Java?

    It will certainly increase its adoption, especially in the open source world, thus fulfilling its original purpose: write once, run anywhere.

    -jim

  • by Alwin Henseler ( 640539 ) on Thursday June 03, 2004 @11:18PM (#9331944)
    In chronological order:
    • Determine conditions that Sun is sure of it finds acceptable right now for released files
    • Throw release files & those conditions on some big-iron ftp/http server under Sun's control
    • Make public announcement (& hopefully survive being /dotted ;o)
    • Inlude in conditions the option to submit patches to Sun
    • Include in conditions the option to publish patches to everyone else
    • Give selected regular patch-submitters limited write-access under strict additional conditions
    • Relax those conditions as time goes by, and you see the source base evolving nicely
    • Move source depository elsewhere, to make that big-iron ftp/http free for newer, more interesting projects
    Just my suggestion for how Sun could do it
  • by stienman ( 51024 ) <adavis&ubasics,com> on Thursday June 03, 2004 @11:24PM (#9331970) Homepage Journal
    The reason they don't know how long it'll take is likely due to licensing agreements, patent royalties, and other little issues encumbering the code, on top of the normal burocracy.

    Inevitibly, in large organizations with large projects, some manager attempts to (and often succeeds in) shortcutting the development time by licensing or purchasing some outside code or technology. I would be surprised if Sun's implementation of Java was completely developed in house and/or completely owned without exception by Sun. They have to vet all the code and modules to be certian that they have the right to release Java. I doubt they'll release the unencumbered parts before it's all ready.

    Further, there are likely to be patent and legal encumberances to the code which may prevent immediate release. It could even be that people along the line have said, "I'll patent this technique later, for right now it's a trade secret." There may yet be code in there which they can capitalize off of by patenting, while allowing for usage within java without charge.

    And, of course, they have to make sure the company lawyers and accountants are satisfied with whatever terms they release it under. They may even wait until the SCO thing blows over if they really want to use the GPL (Unlikely).

    So don't hold your breath. The ideal outcome would make one able to compile it for platforms which it does not yet run on natively and stable.

    -Adam
  • Re:ANSI/ISO (Score:1, Insightful)

    by Anonymous Coward on Thursday June 03, 2004 @11:25PM (#9331974)
    No, I much prefer my language be managed by users rather than highly political entities beholden to the implementors.
  • by Anonymous Coward on Thursday June 03, 2004 @11:27PM (#9331984)
    Bullshit. OpenGL's API is free, but the name is trademarked. You cannot call yourself OpenGL unless you've passed compatibility tests (and coughed up the money to fund those tests). Same thing could work here, and that's been known since Java began. Sun's not interested. They've sown the "forks may happen" crapmeme from the beginning when it doesn't matter. Trademark law trumps forks.
  • by Snoopy77 ( 229731 ) on Thursday June 03, 2004 @11:28PM (#9331986) Homepage
    It seems from analyzing sourceforge that Java seems to be doing quite all right within the OSS community just as they are. Coming a clear third behind C++ and C is not bad in terms of language use.

    There is enough OSS built around Java to keep it alive in the OSS community and popularity as a whole is right across the board.

    They do have real concerns about losing control. Usually, without too much hassle, Java can live up to its write once, (test and then) run everywhere. Will this be so if there are forked projects?

    It would be great to get the OSS community in on improving Java but I can see why Sun want to remain in control.
  • Re:Yeah, by IBM. (Score:3, Insightful)

    by whereiswaldo ( 459052 ) on Thursday June 03, 2004 @11:30PM (#9331991) Journal
    I really can't see any good reason for Sun to open Java or Solaris.

    Me neither. Where the hell is the value in their company? Solaris doesn't have the greatest market share, and I see Java as their biggest strength. They want to give it away why? Don't they have a responsibility to the shareholders?

    People run all kinds of Microsoft-made technologies and don't gripe. What's with the shitstorm about Java not being open source?
    Who cares?
  • Re:Yeah, by IBM. (Score:4, Insightful)

    by Gerdts ( 125105 ) on Thursday June 03, 2004 @11:32PM (#9332008)
    Absolutely right. That mechanism [gnu.org] would never work.
    Before incorporating significant changes, make sure that the person who wrote the changes has signed copyright papers and that the Free Software Foundation has received and signed them. We may also need a disclaimer from the person's employer.
  • by Anonymous Coward on Thursday June 03, 2004 @11:34PM (#9332014)
    It doesn't sound that challenging. Slap a CPL on it and dump it on SourceForge. Then get sued. Java is full of code that is copyrighted by different parties, and also includes patented portions. In order to legally open source Java (I don't think they can GPL it), Sun has to invest great amounts of work into getting permission from everyone invovled.
  • Sun Benefits? (Score:3, Insightful)

    by eeg3 ( 785382 ) on Thursday June 03, 2004 @11:38PM (#9332037) Homepage
    Of course the opening of Java's source will be neat for "the community," but it doesn't seem like a very smart business move for Sun. There might be some temporary benefits in publicity, but no real benefits in the long run. Atleast if they keep it closed, they'll retain some control, and have the ability to possibly make money off of it.

    However, i'm sure they know this, and that's why it's not being released now, and it probably never will be, unless they somehow conjure up a way to release the source and retain complete control of it.

    ...Which seems impossible to me.
  • jvm (Score:5, Insightful)

    by sumdumass ( 711423 ) on Thursday June 03, 2004 @11:48PM (#9332078) Journal
    I would be happy if they just opensourced the virtual machine so distros can include it instead of me having to jump thru hoops getting it installed and working. Aslo this might allow different distro's to tweak the VM so it can run smoother and faster on thier version of linux while still supporting the develope once run anywere model. I'm not sure what else is in sun's java offering, I asume there would be an aplication server, a developers ide and maybe some other stuff.

    Sun is giving the VM away as it is, It would be nice to have it gpl compatable so it can be used right after an install.
  • Re:Yeah, by IBM. (Score:3, Insightful)

    by fmorgan ( 235244 ) on Thursday June 03, 2004 @11:48PM (#9332079)
    Well, US-based organizations (from Sun to FSF) tend to be more "lawyer aware". But even Linux is moving into that direction now.

    This "They won't accept patches unless the copyright is assigned to them" is just the price of doing business in the US. Mostly to have copyrights clear and avoid SCO-like messes. Even if SCO claim is completely without merit (and that I believe so), you need to prove it.

    or, as someone said sometimes around 50 BCE said, "the wife of Julius Caesar doesn't only need to be honest" - don't remember the exact term - "she also needs to look like it".

    Suppose that someone has some java changes introduced and then, 1 year later, SCO claims it came from their code!!!!
  • by bwy ( 726112 ) on Thursday June 03, 2004 @11:51PM (#9332094)
    Good points.

    I wonder, with something as big as the whole Java world is right now, if you're not right.

    Take an OS, for example. Look at the difference between OS X and Linux. Linux is going in every which direction but has more potential than just about anything on the planet.

    Apple, however, took Free BSD and put a super nice wrapper on it. They've got managers who keep developers focused and executive officers who keep managers focused. Often, the open source community has a very narrow and selfish view when it comes to certain things. Like, why make software easy to install, like OS X? No need- any Linux user (present or future) is smart enough to compile his own software, resolve dependencies, etc.

    A person has to ask- could the OSS community ever have produced a gem like OS X? Could it have produced Java? OSS has the skillset, some of the sharpest folks on the planet. But who is keeping them coordinated? Who is the CEO with a single, cohesive vision?

    Don't get me wrong on OSS here. It has produced cool, big things like the Linux Kernel, Gnome, KDE, XFree86, etc., etc. All wonderful pieces of a puzzle that just doesn't seem to fit together quite as well as they need to when it comes to building a complete OS platform.
  • by Anonymous Coward on Thursday June 03, 2004 @11:55PM (#9332112)
    It makes perfect sense if Sun is doing this for the same reason Apple open sources the internals of Mac OS X.

    Allowing their users access to the source to Solaris-- even if the license is "poisoned" to prevent it from being mixed with GPLed code-- would help Sun's users. They would be able to adapt the OS to strange fine-tuned uses and arcane hardware, or more easily debug kernel plugins. A shop that might otherwise have gone "well, we like solaris, but we don't want to be limited to sparc and x86, so we'll go with linux" might be dissuaded.

    Allowing their users access to the source to the JVM-- even under a GPL-incompatible license-- would do the same. It would allow Sun's users to port the JVM to those few platforms Sun doesn't support yet, or more easily debug JNI software.

    This is definitely a benefit for Sun's users. It makes both Java and Solaris more attractive. It makes a lot of sense.

    If they really did, I would take it as more of a "We Give-Up" move just before everything falls apart.

    Sun refuses to open source Java: Slashdotters interpret this as a sign they are dying.

    Sun agrees to open source Java: Slashdotters interpret this as a sign they are dying.

    Hmm.
  • Re:Yeah, by IBM. (Score:5, Insightful)

    by sumdumass ( 711423 ) on Thursday June 03, 2004 @11:58PM (#9332123) Journal
    Well, i'm not sure how sun is making a ton of money off of java now. They give the virtual machine as well as the web client away as it is. Maybe it is somethign to do with thier java desktop wich I asume won't be gpl'ed. Maybe if "opening the source" will get things runing faster and a little smoother There would be more of an market for thier desktop system.

    AS far as running microsoft and liking it? Thats because it is there. Most people won't even look under the hood and care, with java, people are going out ang getting it so they know what is there and more of the people using it are the ones that would bitch about microsoft. The difference is the amount visible to the public. Microsofts users would have more that didn't care where java users would have more that did care.
  • actually, (Score:5, Insightful)

    by jbellis ( 142590 ) * <jonathan@carDEBI ... com minus distro> on Thursday June 03, 2004 @11:59PM (#9332133) Homepage
    When Jonathan Schwartz spoke at the Utah Java Users' Group he said Java drives a LOT of server sales for Sun. He specifically mentioned embedded java, e.g. in cell phones, as opening new revenue areas for servers. Java licening fees themselves are a drop in the bucket relatively.

    It will be interesting to see what kind of license Sun goes with given their oft-given fear of forking Java. Seems to me that something like the Qt license would be the way to go.
  • Re:In other news (Score:1, Insightful)

    by Anonymous Coward on Friday June 04, 2004 @12:00AM (#9332136)
    But at least he did his karma-whoring as AC, unlike the OP.
  • Re:Yeah, by IBM. (Score:5, Insightful)

    by gabebear ( 251933 ) on Friday June 04, 2004 @12:00AM (#9332140) Homepage Journal
    The shitstorms are because Die-Hard Linux geeks/distros want to have everything on their computer/CDs under the GPL. If they don't put it out under a GPL compatable license then this exercise will be utterly pointless.

    IF they release it under the GPL, I see this making the open-source world a lot friendlier to Java. IF thy release it under a GPL licence, then KDE/GNOME will integrate java more closely(I.E. standardize).

    I think the smartest move would be for Sun to relase Java's source under the plain old GPL, but not let any implementation use the Java trademark unless it meets their criteria( so they can keep Java from fragmenting)

  • by Mag7 ( 69118 ) on Friday June 04, 2004 @12:02AM (#9332156)
    1. Java is not open-sourced and falls out of use like most closed standards eventually do.

    Wha..? Java is not a closed standard. See the Java Community Process [jcp.org]. Sun's implementation is closed. I disagree that "most" closed standards fall out of use. Many survive.

    2. Java is released as open-source and they lose control of it.

    Well, the Linux kernal is open-source and yet Linus maintains quite a lot of control over it. No doubt Sun's people would still have a lot of control because they're the most familiar with it, and it is/was their baby. This happens with a lot of open source projects.

    3. Java is released under a pussyfoot-shared-source-with-lots-of-restrictions- but-we'll-call-it-open-source license which alienates the OSS crowd and causes open rebellion. Same outcome as #1, only quicker.

    Unfortunately I think that we'll see something like this. Rebellion? Well, no, people are using it now under its closed paradigm. Many people will use it regardless of its closed or openess (or varying levels in between).
  • Re:ANSI/ISO (Score:5, Insightful)

    by heathm ( 174421 ) on Friday June 04, 2004 @12:12AM (#9332212) Homepage
    Java is managed by a standards organization. It's call the Java Community Process [jcp.org]. Any individual can join for free and contribute to the Java standards. Companies can join for a reasonable cost. Everything that goes into Java is standardized by the JCP and every JCP standard is freely implementable.

    Explain to me why we need ANSI or ISO?

    A colleague of mine insists that .NET is better because it's an ECMA standard. He's too dense to understand that not all of .NET is part of the ECMA standard and it's not truly an open standard because although I can freely implement what the ECMA standard says, I can't do jack crap to change what's in the ECMA standard. The standard is controlled wholly by Microsoft.

    Explain to me how this is better than the JCP?

    The JCP is already slow enough. The last thing Java needs is some bloated organization like ANSI or ISO to get involved.
  • by HiThere ( 15173 ) * <charleshixsn@@@earthlink...net> on Friday June 04, 2004 @12:16AM (#9332230)
    That's happening anyway.

    If I may:
    gcj, kaffee, jikes, etc. (I don't remember all the one's that I encountered.) Notice, though, that c, c++, Fortran, python, and Ruby (among others) haven't forked. At most there are dialects with extensions to the core language, or differing libraries. Well, unless you consider Objective C to be an incompatible fork rather than a separate language.
  • by DRWHOISME ( 696739 ) on Friday June 04, 2004 @12:18AM (#9332242)
    Do any of you ever ask yourselves why now?

    Do you trust Sun ? They are excellent at manipulating the media.

    Sun is doing this for themselves so they can 'hype' more java news on all the internet news sources(zdnet,cnet,slash) and also pull more people into their language(prosyletize) so that they can cash in.

    Microsoft and Sun both proselytize. [washingtonpost.com]

  • by HiThere ( 15173 ) * <charleshixsn@@@earthlink...net> on Friday June 04, 2004 @12:19AM (#9332247)
    But they shift their strategy every week! Anyone who takes this seriously needs to look at Sun's history.

    When they release it, then perhaps the license will cause it to be news, or one sort or another. I.e., it won't necessarily be positive news. Remember, this is the company that came out with the SCCCL license.

  • by SatanicPuppy ( 611928 ) <SatanicpuppyNO@SPAMgmail.com> on Friday June 04, 2004 @12:20AM (#9332256) Journal
    If you develop in java, you don't have to pay sun any money. Sun uses what they call a "protected source" license, which basically says, "Anyone can use this, but only we can make changes, or release new distributions."

    Open sourcing java wouldn't really hurt them, and god knows java could use it.
  • by molarmass192 ( 608071 ) on Friday June 04, 2004 @12:21AM (#9332263) Homepage Journal
    The make some money on J2EE certification, mobile device runtimes, and licensing the Java trademark -but- the true value of Java to Sun is that it's the only thing that's keeping them relevant right now. Take Java out of the picture and Solaris would be on the brink of extinction like HP-UX and AIX. FWIW, I was a big supporter of Solaris up until the 2.4 Linux kernel made it's appearance.
  • java or the JVM? (Score:5, Insightful)

    by acomj ( 20611 ) on Friday June 04, 2004 @12:22AM (#9332266) Homepage
    I keep wondering if they mean the java class libraries or the Java virtual machine (which runs those java applications)?

    Opensourcing can only help java. It will definetly spread its adoption to be standard on many linuxes.
  • by Snoopy77 ( 229731 ) on Friday June 04, 2004 @12:30AM (#9332298) Homepage
    But as I understand it I can compile my java code under gcj, kaffee, jikes, javac and it will work. But what if someone, let's say Microsoft, comes along and uses their monopoly within let's say the OS market to push their own version of the java language and call it ... um ... J++. So people are out the writing J++ compaitable programs that won't run on anything but Windows. But they think they are writing in java cause it looks just the same.

    This is not what Sun wants.
  • by Anonymous Coward on Friday June 04, 2004 @12:38AM (#9332334)
    What's important is being free to actually *use* the source code. With Sun's current license, you can't do anything more than look at it. You can't use some of the code in some other project. You can't fix bugs or add optimizations and then distribute your version. With an open source version, Sun also wouldn't be able to change the conditions whenever they wanted to.
  • Re:Yeah, by IBM. (Score:4, Insightful)

    by anshil ( 302405 ) on Friday June 04, 2004 @12:41AM (#9332342) Homepage
    I can see a good reason, having a real OpenSource license for java would give it a significant popularity and usage thrust. Something they could really use in the battle against .Net

    Java to be successful in the long term needs to be standarized and opened like C has been!
  • by Anonymous Coward on Friday June 04, 2004 @12:50AM (#9332381)
    Let's face it: It was bound to happen. After all, if Sun didn't open up Java, someone -- probably IBM -- would have eventually ripped it out of their hands. To quote Eric Raymond, "you can have ubiquity or control, but not both." (Ok, so that's more like a paraphrase than an exact quote, but y'all get the gyst. And speaking of ESR, there's a cool interview here [developershed.com] in which he talks about -- and predicts -- Sun's open sourcing of Java.)

    In short, it was either do it now or do it later for Sun. And it's better they do it now, when they can still look good, than later, when they'd end up just leaving a seriously bad taste in the mouth of thousands of developers. They're strapped for cash and just signed their soul over to the Borg. Might as well do SOMETHING worthwhile and good, rather than just be a giant flaming ball of gas for news.
  • Re:Yeah, by IBM. (Score:5, Insightful)

    by 0racle ( 667029 ) on Friday June 04, 2004 @01:13AM (#9332468)
    ...a significant popularity. You mean just like Mono, or WindowMaker, GNUStep, DragonFlyBSD? Its a miracle when any piece of software, no matter what it is or what license its under, becomes popular. Simply taking a closed or heavily guarded app or language, remember the specs and Java API's are there for anyone to read, and turning that into an OSS project is not going to make it more popular, but will make it a lot less useful to Sun. If Microsoft suddenly opened Windows tomorrow, would that make Windows magically better then it was today? Would you spend the time submitting patches to a system that you would have to give up to Microsoft?

    Java is Sun. While that probably doesn't mean all that much to most people, it does to Sun and everyone whose spent the time and money to certify there apps as J2EE Certified. Sun would have to be smoking some really good stuff to think that giving that up would be a good thing. Java and C were made for very different reasons, C was to be the prefered language for Unix development, so it was stupid not to have it open and standardized as Unix went down the same path, Java was always concieved as something that Sun would keep, leverage it and open it enough that it would be used, but still Sun would have control.
  • by Jotham ( 89116 ) on Friday June 04, 2004 @01:43AM (#9332566)
    Mono beta 2 now includes a Java VM. "allows Java and .NET code to run side-by-side. It contains the latest release of IKVM [ikvm.net].

    Sun's Java Class Libraries are very nice and full featured, if Java was open-sourced, I'd see Mono and Java merging together quite nicely. Write in whichever language is most comfortable, and call whichever API does the job the best.

    I see this as a good solution for Sun which is seeing developers leaving for .NET, turn to them and say, you can still use Java.
  • by master_p ( 608214 ) on Friday June 04, 2004 @01:54AM (#9332579)
    Assuming that would allow any developers to participate in Java's development, I imagine that the first enhancements would be templates, similar to C++. And before someone says that Java 1.5 already has generics, let me tell you that Java generics are nothing but a simple mechanism to automatically wrap primitive types within Object-derived instances.

    There are various implementations of Java with truly good enhancements, like real templates, design-by-contract and other good stuff. It's a pity that Java does not get these "new" capabilities (that other languages have for ages).
  • by dbarclay10 ( 70443 ) on Friday June 04, 2004 @01:55AM (#9332583)
    Often, the open source community has a very narrow and selfish view when it comes to certain things. Like, why make software easy to install, like OS X? No need- any Linux user (present or future) is smart enough to compile his own software, resolve dependencies, etc.

    1996 called. They wanted to know why you're compiling from scratch as opposed to using a distribution and its package manager. (*cough* Debian, Red Hat, SuSE, Mandrake, Connectiva, Slackware, hell even Gentoo *cough*)

  • Tooth Fairy (Score:3, Insightful)

    by RAMMS+EIN ( 578166 ) on Friday June 04, 2004 @01:58AM (#9332594) Homepage Journal
    esr says:

    ``Anyone who believes a vendor is going to give away hardware under a contract that allows the customer to immediately strip off the software and repurpose it probably still hasn't faced the truth about the Tooth Fairy.''

    You mean that he does exist and wrote Linux, together with Santa Claus? [linuxworld.com]
  • Good thought (Score:2, Insightful)

    by Pecisk ( 688001 ) on Friday June 04, 2004 @02:31AM (#9332674)
    I guess it's a step forward, yeah, yeah, someone will say - it's not happened *YET*. BUT it could change certainly several things: 1) every distribution now could distribute JRE without any licensing issues - I guess it's first and main point about Java widespread on Linux boxes 2) Allow changes for others/forks - I guess second is rather risky, but I guess no one will fork Java unless it will be very necessary and pressing. I guess it could be done the same way it worked for Openoffice.org project - one project site, everyone can contribute, submit changes, Sun engineers do the rest. Yes, I guess most of you should understand that isn't that easy to open source Java - Sun clearly see beneficts, but legal team should figure everything out, everything must be sorted out, even code - I asume. So let's just wait for that. And yes, it is about god damned time - for people who don't want to use Mono because of fear from Microsoft.
  • by RAMMS+EIN ( 578166 ) on Friday June 04, 2004 @02:41AM (#9332702) Homepage Journal
    ``That said, I hope java doesn't end up fragmented.''

    You mean, more fragmented than it already is with Sun, Microsoft, Apple, Kaffe, gcj, Latte, Jikes, and so on and so forth all providing their own implementations?

    ``One of the really nice things about java is that despite a few problems, it's very portable.''

    Oh yes. About as portable as C, Python, Fortran, ADA, Pascal, Common LISP, Scheme, PHP, Ocaml and a plethora of other languages.

    ``I've never personally had a problem moving my code from one machine to another.''

    You lucky bastard. You must never have moved your code developed with a modern Sun JDK to a machine using Microsoft's VM. Or an old (1.0.x or 1.1.x) Sun JVM, for that matter. Or tried running AWT code on pretty much any of the open source JVMs, which are kind of your only choice if your machine is not x86, PowerPC or SPARC, or the operating system is anyting besides GNU/Linux, Solaris, Mac OS, OS X, or Windows.

    Java is a dream that never came true:

    1. Write once, run everywhere is a myth, because you need a good VM and class libraries, which are only available for a few platforms.

    2. The official distribution is bloated to the top and runs slow even with JIT compilation. Java programs use lots of memory. This makes Java unnatractive even if you can guaratee it will work on your target system.

    3. GUIs in Java are a nightmare. AWT can be a bitch to code for, lacking many useful components. Swing uses "pure Java" widgets, which are slow and don't fit well with the native widgets on your system. SWT ought to be better, but is not included in the distribution, so if you want it, you need more bloat.

    4. High performance apps are out. GUI apps are a nightmare. What's left? Simple command line utilities? Nah, much better written in a different language. Whomever heard of multi-second startup time for hello world, and BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); before you can do something useful with standard input?

    Oh yeah, it runs on cellphones. At least, the very much scaled down J2ME does. But don't expect good performance, and don't expect software written for some cellphone to run on yours. It's the same story again.

    Java has failed.
  • by FooBarWidget ( 556006 ) on Friday June 04, 2004 @03:34AM (#9332812)
    That argument is not very god.
    1. The most important question: WHY would anyone fork it? Where are the 'hundreds of forks' of Perl and Python?
    2. And just who the hell will actually use an incompatible, impopular Java fork, that isn't even legally allowed to be called "Java"?
    3. How's forking Java and making it incompatible any different from creating your own language with incompatible but similar Java-like syntax? (other than that under the hood it's based on Sun Java, but nobody cares about that)
  • Closed standards (Score:5, Insightful)

    by jmorris42 ( 1458 ) * <jmorris&beau,org> on Friday June 04, 2004 @03:35AM (#9332813)
    > I disagree that "most" closed standards fall out of use. Many survive.

    Outside the IT world you have a point. But name ONE major IT standard that is still relevant that is a) closed and b) not a microsoft 'standard'. I exclude MS because they are a convicted monopolist and have certain unfair influences on the marketplace that has permitted them to maintain closed standards for a little longer than everyone else.

    Networking standards are the obvious example where closed has been the kiss of death. Closed information services were crushed by the Internet, all non-IP network protocols are now in legact maintaince mode. How many email systems are left other than SMTP/POP/IMAP? Instant messaging is the one holdout because Jabber couldn't get their act together to the point where every ISP became expected to host a Jabber locator server just like they host a mail/dns/news/etc server.

    File protocols are rapidly converting to open, with the notable exception of MIcrosoft and their Office formats. A host of closed graphics formats fell to GIF, JPEG and PNG. The myriad audio and video formats have all but collapsed to WAV/MP3/MPEG/AVI/WMV/OGG. Even the MS standards are fairly open (for MS tech) with the exception of rights restricted flavors of WMV. MP3 and MPEG are artifacts of a day when RAND licensing was considered open.

    JAVA must open or face a decline. It is the only current language with any real restrictions on implementations. Anyone is free to write a C compiler, and many do in school. Anyone if free to rewrite Perl, but would be daft to try. :) JAVA is the only language with a corporation full of lawyers threatening to sue anyone who releases an implementation they don't like.

    Even worse, with the current situation Linux distributors can't include a JVM (Sun's or IBM's) in their collection, even those who are willing to bundle closed apps, so no JAVA app can ever be a core app in the Linux or BSD worlds, and considering the state of affairs in Windows land it isn't likely to happen there either. That Sun can't see that widespread, unfettered distribution of the runtime is a plus for all Java advocates doesn't bode well for a real Open Source release of the JDK.

    But anyway, JAVA the language probably has a future but JAVA the emulator/VM really doesn't. Sun can slow the evolution down through skilled lawyering but native compilation similar to what GCC is now doing is the future, one where JAVA is just another language and source gets compiled to native code and depends on the normal system libraries.

    The only reason for the emulator was to allow closed source apps to be semi portable, but as closed source becomes less of an issue there will be less and less reason to pay the emulation penalty of the JVM. In the Open Source world portability is achieved with GNU autoconf, not by compiling all code to run on a mythical platform which is then emulated on whatever host it happens to be running on today.
  • Forking JAVA (Score:4, Insightful)

    by jmorris42 ( 1458 ) * <jmorris&beau,org> on Friday June 04, 2004 @03:54AM (#9332852)
    > I think they're worried about someone forking it.

    Oh bull. How many incompatible forks of C++ are there? Not all compilers implement all of the latest ANSI standard but are all working toward compliance as fast as they can lest they lose relevence in the marketplace. Ok, how about Perl? It has been GPL from the start of it's life and there has been exactly ZERO forks. Python? Nope, no evil forks there. How about the granddaddy of them all, C? Yes, but the ANSI standard keeps pulling them all back into line, so it hasn't been a problem. Every time C shows its age the compiler writers start innovating and the good ideas get standaridized.

    Sun is still trying to think of a way to make JAVA a cash cow and is afraid that if they Open Source it that when they have the "Ah Ha!" moment that it won'y work because they opened it.

    And anyway, the idea of compile once, emulate everywhere is not exactly a great one if you live in the OS/FS world. Won't bother me a bit when Java becomes just another language that GCC compiles to native code and it's bundled libraries are sitting in /usr/lib with the rest. When programmers decide whether to use the bundled crossplatform graphic toolkit or use java bindings to Win32/Qt/Gtk/wxWindows/SDL/etc. When Python programmers are deciding whether to use Tk or Swing. Or in a bumper sticker size phrase, when Java is just another OO language instead of a religion.
  • by Dj ( 224 ) on Friday June 04, 2004 @04:05AM (#9332882) Homepage
    So you've gone and confused generics with autoboxing. And we're supposed to listen to you demand someone does templates. Uhuh.

  • by noldrin ( 635339 ) on Friday June 04, 2004 @04:08AM (#9332885)
    1. Wait for a product to be hovering near death's door
    2. Release product under a new restrictive open source license
    3. People complain about license
    4. Rerelease it under the GPL
    5. Programers spend a year making the code worthwhile
    6. People complains about how poor the opensource developement model works
    7. Really cool product emerges too late to make a big impact in the market at large.

    I don't mean to sound ungrateful.. but perhaps it would be smarter for companies to use open source earlier on, not as a last ditch effort. Java has been pigeoned holed as a very large plug-in for web browsers, which Flash has done a lot better with. If they are going to see Java as a big application platform, open source is necessary and not as optional.

  • There are various implementations of Java with truly good enhancements, like real templates, design-by-contract and other good stuff

    There are two dangers to this:

    1) Incompatible forks. Java is supposed to be "write once, run anywhere". Different implementations of a common standard can be good. Diverging language features can't be.

    2) At heart (without the class libraries) Java is still a small, simple, clean, readable, easy to learn language. Enough well-meaning enhancements, and it could end up looking like perl. Ugg.
  • by SenseiLeNoir ( 699164 ) on Friday June 04, 2004 @04:50AM (#9333018)
    That option is not needed. Java is a PLATFORM INDEPENDANT language in which the core funtionality should NOT be tied to a particular platform.

    This is EXACTLY what MS did with Visual J++ and their own JRE. This is exactly what Sun fears about open sourcing Java.

    If you want a KDE specific version of JAVA, create the appropriate Plug-in/Replacement classes for the AWT/Swing. The current JAVA jre spec DOES indead allow that. Or if you are particularly brave, create new packages such as org.kde.*. The advantage of this approach is that it would run with ANY implementation of JAVA, not just the Sun, or Custom KDE JRE.

    A good example of this is WABA, a Java Like language/platform for Palm OS and Pocket PC. It uses its own set of packages (waba.*). However, the best part is, because its built on JAVA specifications, software can be developed and compiled on ANY JDK (I have tried Sun Forté, and Visual Café). This is just by adding the appropriate waba package for Java. This clearly demonstrates the pure power of Java.

    Although Open sourcing Java is good, I do understand their fears of forks. And it has happend befor e(MS VJ++)
  • Re:This is news? (Score:3, Insightful)

    by SenseiLeNoir ( 699164 ) on Friday June 04, 2004 @05:27AM (#9333105)
    Not quite.. Although both C# and Java "compile" to an intermediate code, whcih is interpreted (C# uses ICL, Java uses Java Bytecode), both Java and C# have something called Just In Time (JIT) Compilers.

    JIT's compile the bytecode into native code on loading of the classes. althoguh thsi could create a small dely on loading the classes, once loaded performance is often very good. I have created some processing software on Java, which i foudn performs almost as well as equivelent C code. In fact i foudn that if we were to code in C++ with all the "safeguards" in managed languages such as C# and Java, performance of Java is sometimes actually better than C++.

    A JIT is provided with JRE, however, the JIT can be replaced (on Windows it is a DLL, and the Java Control applet allows you to switch between different JITs, which may perform better in different cases)

    Finally there was a product called TowerJ, which takes Java source or Bytecode, and compiles it into a native executable, and althoguh the final product will definately NOT be write once run everywhere, previous tests shows it stonking all over most JREs and even giving C++ a massive run for the money..
  • Re:Forking JAVA (Score:3, Insightful)

    by TheRaven64 ( 641858 ) on Friday June 04, 2004 @05:42AM (#9333139) Journal
    How many incompatible forks of C++ are there?

    Not a good example. The language is the easy bit, it's the standard libs that are important. How many libcs are there? Have you ever tried moving code between glibc, BSD libc and msvcrt (the libc used by Windows)? All of them have slight incompatibilities which require (often minor) changes, and the C standard library is several orders of magnitude less complex than the J2SE class libraries.

  • Re:Boon (Score:5, Insightful)

    by ajs318 ( 655362 ) <sd_resp2@earthsh ... .co.uk minus bsd> on Friday June 04, 2004 @06:04AM (#9333187)
    Depends what licence they use.
    • If they use the "sharing is not theft" BSD licence, then someone conceivably could take Java, modify it just enough to make it incompatible with the old version, and release their modified version -- let's call it EvilJava because I can't think of anything better -- closed-source. By writing plenty of code that only runs on EvilJava, someone can effectively usurp control of the market -- this, presumably, is the "nightmare scenario" Sun is keenest to avoid.
    • If they use the "not sharing is theft" GPL, then nobody can release a closed-source modification. Somebody could conceivably write a "JavaTwoPlus" incompatible with plain old Java, but it would necessarily be GPL. We have to assume that GPL automatically means cross-platform, since there would be nothing to prevent Sun themselves from porting JavaTwoPlus to any other platform for which a version of GCC exists.
    • If they go for a Pine-like licence, then nobody will be allowed to release modified binaries to the general public -- whether EvilJava or JavaTwoPlus -- in such a way that they could be confused with the "official" Java. Anyone wishing to create an improved Java would be confined to releasing patches for the source. As wonderful as this looks in theory, it's a nightmare in practice because of the problems it creates for distributors. Some Linux distros already don't include Pine, precisely for fear of running afoul of its licencing terms {You typically have to modify any source package ever so slightly to get it to work with your own distribution; that's what the configure process is about. The actual Pine licence doesn't make it clear that such modification is permitted. Even if the University of Washington turns a blind eye to some distros putting out a patched pine, there is nothing to say that one day it won't start coming down hard on distributors}. Sun presumably wants Java to be distributed widely, so should word the licence very carefully if following this route -- there is a real risk of alienating distributors.
    The question boils one of balance between code integrity and the benefits of Open Source. BSD doesn't assure code integrity or cross-platform-ness. Pine-like assures integrity but impacts negatively on distributability. GPL blocks any outright threats to code integrity and cross-platform compatibility -- but potentially leaves Sun with hard work to do.

    All that being said, if Java has enough functionality already then nobody will really feel the need to add anything else -- which, of course, is where the greatest single threat to cross-platform-ness comes from. Those few who do have special requirements which can best be met through modifications, probably will not be releasing their modified Java versions into the mainstream.

    Sun has up to now played the role of a protective parent, shielding the child (Java) from the worst elements of the outside, adult world (closed-source vendors who would take a beautiful product and distort it for their own ends). But children do eventually grow up; and after a point, when they have learned the dangers of the world, it becomes wrong not to set them free into that very world -- for all its dangers, it is still a beautiful place. If Sun has done everything right -- or even done just enough right -- then there is nothing to fear when Java makes the transistion from tightly-reined, closed-source child to well-balanced, Open Source adult with an existence of its own that does not depend on Sun.
  • by Baki ( 72515 ) on Friday June 04, 2004 @06:14AM (#9333206)
    Why do I sense so much hatred and ungrattitude against SUN? It has been one of the pillars of UNIX, has given away many technologies that today define UNIX/Linux. Without SUN UNIX would have been irrelevant long ago, and with it Linux would have been just as irrelevant.

    Why don't people see the strategic importance of the UNIX world (which includes Linux) holding together and fight against the real enemy?

    I do have my concenrs regarding Suns recent "peace" with the enemy, maybe we can no longer rely on SUN, but at least one must acknowledge what SUN has done for the UNIX community.

    The lack of historical perspective and irrationalism of many of the SUN haters is shocking to me. It almost makes me think that the enemy has sent inflitrators on slashdot with the purpose to spread division and internal struggle inside the UNIX world.
  • by minkwe ( 222331 ) on Friday June 04, 2004 @06:16AM (#9333212) Journal
    A casual look at their statements reveals their minds.

    In this article [com.com] in which they promise opening up Solaris, They say:

    "Look, you only need to look at what we've done with Java to understand how Sun views the value of incorporating community feedback," he said. "Java could not exist if only Sun is supporting it. It exists because there are hundreds and thousands of partners. We need to now take the model with Java and bring it to Solaris."

    The uninformed on-lookers will only see the statement "Sun warms to open-source for Solaris" which gives them more points.

    Next concerning Java, a few months ago they said [com.com],

    "Schwartz also noted that people who stick to Sun's licensing terms and maintain compatibility with Sun standards can have access to the Java source code. Changing the licensing to an open-source model would encourage different implementations, he said."

    Now they are saying [zdnet.com.au]:

    "We haven't worked out how to open-source Java -- but at some point it will happen," Srinivas said. However, he noted "it might be today, tomorrow or two years down the road".

    Again, the uninformed on-lookers will only see the statement "Sun to open-source Java" which gives them more points.
    Summary: They promised to make Solaris become like Java, meanwhile they don't know if at all Java will be open-sourced in this lifetime.

    This is what is called hybrid-source: A vapor version of open-source meant only to gain favor with the open-source community and the business world without any active steps or concrete plans to put it in effect.

  • Re:No, not the GPL (Score:4, Insightful)

    by dnoyeb ( 547705 ) on Friday June 04, 2004 @07:07AM (#9333314) Homepage Journal
    Furthermore, the GPL may be a serious problem for Sun. Not all Java code is necessarily copyrighted by them.

    You are aware that Java is not written in Java? One issue is open sourcing the Runtime Enviornment source code which is java code, the other issue is opening the Virtual Machine which is not. Everyone has been griping about the VM code.
  • by pjt33 ( 739471 ) on Friday June 04, 2004 @07:12AM (#9333325)
    You mean, more fragmented than it already is with Sun, Microsoft, Apple, Kaffe, gcj, Latte, Jikes, and so on and so forth all providing their own implementations?
    I thought Microsoft had been forced to stop fragmenting it by the U.S. courts. I know that Apple work with Sun, and the only real difference is that Apple write the native code.
    Oh yes. About as portable as C, Python, Fortran, ADA, Pascal, Common LISP, Scheme, PHP, Ocaml and a plethora of other languages.
    It's hardly a great insight that interpreted languages can be ported by porting the interpreter. It's possible to write portable code in the compiled languages you mention, provided you're careful and you provide copies of libraries for things like UIs, but you have the choice between compiling yourself on every target platform and distributing umpteen binaries, or distributing source and requiring the end-user to compile it. Doable, but it requires either superior end-users, or giving them a tool like Fink to handle everything for them, at which point you're back to doing the configuration yourself. With Java, you can distribute a jar and anyone with a VM can run it.
    You lucky bastard. You must never have moved your code developed with a modern Sun JDK to a machine using Microsoft's VM. Or an old (1.0.x or 1.1.x) Sun JVM, for that matter.
    Again, it's hardly a great insight that you need up-to-date libraries to run a program that uses libraries. The same applies to any language.
    2. The official distribution is bloated to the top and runs slow even with JIT compilation
    Define slow. 10% slower than optimised C isn't really slow.
    3. GUIs in Java are a nightmare. AWT can be a bitch to code for, lacking many useful components. Swing uses "pure Java" widgets, which are slow and don't fit well with the native widgets on your system.
    If Swing doesn't fit with the native widgets on your system, all you have to do is write a PLAF. I mainly use OS X, and Apple's libraries include a native-looking PLAF.
  • Autoconf? (Score:4, Insightful)

    by Roy Ward ( 14216 ) <royward770@[ ]rix.co.nz ['act' in gap]> on Friday June 04, 2004 @07:36AM (#9333370)
    > In the Open Source world portability is achieved with GNU autoconf, not by compiling all code to run on a mythical platform which is then emulated on whatever host it happens to be running on today.

    Um, which platform do you use - it wouldn't be Linux x86 which pretty much all gnu software has already been ported to would it? Autoconf is good at getting things mostly right, but there are still various tweaks to get something running on a platform it hasn't been built for before (I know ... I've spent days over such porting).

    All the Java I've written seems to run fine without modification under MacOSX, Linux, FreeBSD, Solaris ...

    If autoconf is the route to native portability, I think I'll stick with the current JVM model and get some work done, thanks you.
  • by Decaff ( 42676 ) on Friday June 04, 2004 @07:54AM (#9333411)
    Open sourcing java wouldn't really hurt them, and god knows java could use it.

    Why?

    Is Java suffering at all due to lack of demand?
    No.

    Is the Java licencing restricting its implementation on different platforms?
    No.

    Is Java on Linux suffering as a result of this licencing?
    No - Linux is one of the main deployment platforms for Java.

    Is the demand for Java in the job market decreasing?
    No.

    I fully support open sourcing Java, but it does not take much understanding of the IT industry to realise that Java certainly doesn't need open sourcing - its phenomenally successful.
  • by killmenow ( 184444 ) on Friday June 04, 2004 @08:13AM (#9333478)
    Okay, I'm coming to this late, I know. But, you said:
    It represents a public shift in their coporate strategy.
    I concur. However, the strategy is not (imho) what it seems. The noticeable shift in Sun strategy ever since the Microsoft $2,000,000,000 cash explosion (i.e., settlement) has been to do everything possible to cast a shadow on Linux competitors...Red Hat in particular.

    Now we have two recent announcements of open sourcing Sun's MAJOR software products with a vague "someday" air to them, which *reeks* in that way only a "oh, why use that product when we've got a better version that will be out really soon now" statement can. This is combined with recurring public statements by Schwartz attempting to introduce new memes into the I.T. sector ("open standards vs. open source") that (whaddayaknow!) serve to disparage the GPL, those who use it (Linux), and Red Hat *specifically*.

    Yes, it's a public shift in their corporate strategy all right. The enemy of my enemy is my friend. Microsoft and Sun have a common enemy that they both know will be the end of Microsoft's dominance and could quite possibly be the end of Sun, period, if they don't work in conjunction to slow it down.

    So, indeed, we agree also that this is newsworthy. If I'm not mistaken, we believe it is newsworthy for different reasons. You believe they mean what they say. I don't. I will believe it when I see it.
  • by rtos ( 179649 ) on Friday June 04, 2004 @08:21AM (#9333528) Homepage
    This is interesting, because just three months ago [gcn.com] McNealy said there was no way they would open the Java source:
    "Despite urging from competitors and open source advocates, Sun Microsystems Inc. of Santa Clara, Calif., will not open the source to its Java programming language anytime soon, said Sun CEO Scott McNealy during a news conference at the 2004 FOSE conference. "We're trying to understand what problem does it solve that is not already solved," McNealy said."
    One day he wears a silly penguin suit [com.com] and the next day he says that Linux is "great environment for the hobbyist" [techtarget.com] but not for corporate IT shops. One day he says there's no way they are going to open source Java, and then they announce that they will.

    If I didn't know better, it would seem that Sun is flailing pretty badly at this point.

  • by Decaff ( 42676 ) on Friday June 04, 2004 @08:44AM (#9333654)
    Sun has no real value except for the ongoing license revenue from solaris hardware and software.

    That's a very big 'except for'. Also, Sun now make a considerable amount of money from selling software services. Oh, and by the way, its 'Sparc' hardware. Solaris is an 'Operating System'.

    Linux did its job and forced them into only high end servers

    Funny, I thought Open Source was about the pleasure of writing quality code, comradeship between developers, and providing choice. I did not realise it was designed specifically to annoy Sun.

    where there is
    - much less demand


    There is?

    - much stronger competition

    But I thought you said that Linux was competition at the low end. How could Sun have been supposedly forced into 'only high end servers' without competition?

    - commodity high end hardware

    So?

    - 'portable' dbms systems - Oracle 9 data is the same on aix, solaris, hp, etc

    And has always been. Sun have always supported portability. That's why they went for UNIX decades ago and not a proprietary closed system like IBM and HP used to have. Sun got there first. When they started with UNIX, they published open standards for everyone to use, such as NFS. They allowed other manufacturers to use their Sparc designs. Sun realised that competition and portability are good: it means that competitors software can run on your systems.
  • Re:Yeah, by IBM. (Score:3, Insightful)

    by Decaff ( 42676 ) on Friday June 04, 2004 @08:50AM (#9333684)
    no connection to Java other than coming with a Java VM

    And Sun Studio Java development tools.
    And Mozilla with full modern applet support.
    And Java security tools.
    And Java integration with Star Office to allow database connections and Office component development.

    By the same reasoning Java Desktop has no connection to Linux other than including Linux...
  • Re:Yeah, by IBM. (Score:5, Insightful)

    by Decaff ( 42676 ) on Friday June 04, 2004 @08:53AM (#9333701)
    Well, i'm not sure how sun is making a ton of money off of java now.

    They do it by selling software services.

    Sun: "We'll sell you software stuff and services."
    Customer: "OK - what will it be written in?"
    Sun: "Java"
    Customer: "Cool - we already use java, its free, and we can use your software anywhere."
  • by teromajusa ( 445906 ) on Friday June 04, 2004 @09:26AM (#9333935)
    It needs it because it needs to be more flexible to deal with the approaching threat of .NET. The IT world changes quickly. You have to adapt if you want to survive. Sun can try to do it on their own, or they can make it a community effort.
  • by Decaff ( 42676 ) on Friday June 04, 2004 @09:51AM (#9334178)
    Yes - C# from Microsoft might pose a real threat to Java and make Sun redundant.

    Only if there is a full-featured .Net available on AIX, Solaris, IBM Linux, HP Linux, mainframe systems (still a multi-billion dollar market), Mobile phones, most PDAs, embedded systems etc.

    Until then, its a neat way to develop for Windows platforms, and to experiment with Mono on Linux.
  • by Decaff ( 42676 ) on Friday June 04, 2004 @09:56AM (#9334233)
    .Net isn't threatening Java. Microsoft say it is for marketing reasons. .Net is replacing older development environments on Windows systems, such as VB6, VC++, ASP. .Net is substantially client side. Until .Net is available for UNIX (a full featured system, not a catch-up clone like Mono) and for other serious server and mainframe systems, it won't compete directly with Java.
  • by FooBarWidget ( 556006 ) on Friday June 04, 2004 @10:11AM (#9334368)
    Uhuh, and flaming developers with dumb stereotypes and discouraging them to continue to develop will do the end users any good?

    I have nothing against making it easy for end users. In fact, that's exactly what I'm developing: easy solutions for end users. But insults and stereotypes from people like you is EXACTLY what I hate so much!
  • Re:Yeah, by IBM. (Score:2, Insightful)

    by Marcus Green ( 34723 ) on Friday June 04, 2004 @10:33AM (#9334544) Homepage
    I believe It would be possible to use the Sun Java Desktop without using any Java. You could ignore the Java development tools, use Mozilla without accessing any applets, use StarOffice without accessing a database (which is probably how most people use it at the moment) and I am not aware of the Java security tools. Can anyone comment on how vital these Java security tools are to the system?

    Now by contrast how much of the Sun Java Desktop would work without the Linux kernel, the associated GNU tools and GPL'd software?
  • by jmac880n ( 659699 ) on Friday June 04, 2004 @10:50AM (#9334706)

    Sun's situation with Java is really reminiscent of AT&T's situation with Unix and C.

    One could make a good argument that the excellent portability of C is because of AT&T retaining tight control of it for so many years. Many people learned the language and there were many applications written for it, so by the time more compilers were written for it, and later, when it was standardized, no one wanted to break anything.

    In other words, the existing mass of programs keeps C stable and reasonable. If language changes different enough (or innovative enough) come along, they are put into a new language derived from C, and given a new name (like "C++" or "Java").

    Is Java at that point now? Is there a big enough mass of Java code out there to keep the language stable without Sun's help?

  • by Bob9113 ( 14996 ) on Friday June 04, 2004 @11:40AM (#9335262) Homepage
    I code Java for a living and couldn't agree more. I've only been doing software development for about eight years now, and I'm really beginning to feel that I made a mistake by concentrating too much on Java, for exactly the reasons this guy lists.

    While we're getting the credentials out of the way, I started coding in 1979. I've written commercial code in a lot of languages, from C to LISP to Python (just to name a few that cover a good chunk of the spectrum of language types).

    The problem with Java on the client is that you depend on the end-user to have things set up 'correctly' on their end. In our case, these are lawyers and accountants and other assorted people who could care less about computers. So if you discover that Java 1.3.1_06 and below has a fatal bug in the networking code, you have to write a workaround for that, since it is untenable to ask your customers to install a new JVM

    I'm presently employed on a cross-platform Java application. We have synchronized deployments to 3500 client machines that have to occur over a single weekend, and travel via our WAN to roughly 40 states plus Europe and Asia. The clients know not and care not how the application works. We ship a new JRE with roughly 20% of our deployments. Our application is currently deployed to Linux (client and server), Windows (client side only), and Solaris (server side only).

    How is this practical? Our application is over a million lines - the JRE isn't the largest part of the deployment. In enterprise deployments to a heterogenous environment, the key factor is not the size of the JRE, it is the things that really affect the bottom line - maintainability, platform neutrality, performance (yes, performance - Swing is within 10% of C when written properly), etc. I'm not saying Java is head and shoulders above all competitors in these areas, but it is certainly a decent match against the best of them. Every language has it's ideal areas - for my money (and having solved the problem with a number of technology sets), enterprise scale GUI client/server apps is one area where Java is well suited, as are some other languages.

    It's a toolkit. If you're having troubles with Java, try some other languages - you may find that others are more suited to your development style or your deployment environment. Java is not a bad language because the JRE is over 10 megs any more than an airplane is a bad form of transportation because it requires an airstrip. The right tool for the job is the key.
  • by zander ( 2684 ) on Friday June 04, 2004 @12:35PM (#9335943)
    Why do I sense so much hatred and ungrattitude against SUN?

    Suns past has kept it out of trouble from many for quite some time, but like most companies also do; its time to re-evaluate their commitment. And Sun is not giving enough to make Java grow the way it can. All these people are not asking Sun to give more, they are asking Sun to let their child out in the open where it will interact with others and gain new experiences.

    Right now Sun is limiting the growth of Java more then stimulating it. All the kids on the block see it, but like any parent the last one to see it is Sun itself.

    There is no hatred; just frustration.
  • by Decaff ( 42676 ) on Friday June 04, 2004 @12:44PM (#9336034)
    If .Net is done right, and from the looks of it Microsoft has done it right, it will overwhelm Java for the simple reason that Microsoft has 95% of the desktop market.

    No. Its about 80-85%. Otherwise, figures for Linux installations and MacOS/X + Windows would add up to more than 100%

    Certainly future Microsoft OSes will run .Net out of the box. Actually .Net will probably run out-of-the-box on Linux AND Windows in the future, thanks to the work of what is now Novell. Java won't work out of the box except on a small handful of OSes (because the community rejects its license in favor of others.) If you can't see the demise of Java in the not-so-distant future, you must have your eyes shut.

    You are confusing desktops with the entire IT market. Java works NOW on almost every OS. If its not installed, its a single click to download and install from java.net. Major computer VARs like Dell are bundling Java with desktops. However, for general use, this is irrelevant. Most java apps are accessed by web pages, and most java apps are deployed on servers: Desktop software is irrelevant to the Java market.

    If you believe Java is in decline, you need to open your eyes and look at the real IT market, not the one you want to exist.

If all else fails, lower your standards.

Working...