Slashdot Mirror


Sun to Change Java License for Linux

daria42 writes "It looks like the days of downloading Java every time you re-install a Linux box may be at an end. Reports are trickling in that Sun plans to alter the Java license to make it easier to bundle the JRE with Linux. From the article: 'Sun has faced calls several times to open-source Java, which advocates say would foster innovative open-source development. The company has resisted formally open-sourcing all of the Java software, but it has dramatically changed the development process around Java and changed licenses to make it easier to see Java source code.'"

226 comments

  1. Finally! by pryonic · · Score: 3, Funny
    It's about time they woke up and smelled the coffee!

    I'm sorry...

    --
    Never underestimate the power of stupid people in large groups.
    1. Re:Finally! by moro_666 · · Score: 4, Funny
      --

      I'd tell you the chances of this story being a dupe, but you wouldn't like it.
    2. Re:Finally! by Fordiman · · Score: 0, Redundant

      *inhales* Wooohooo! Wooop! Woop! Wooohooo! Wooop! Woop! *inhales* Wooohooo! Wooop! Woop! Wooohooo! Wooop! Woop!

      Um, yeah. I approve.

      --
      110100 1101000 1101000 1100110 0 1101111 1101000 1100011 1
  2. Sweet... by racebit · · Score: 3, Funny

    Three cheers for sun *reaches for mug java*....o wait, my self heating mug exploded

  3. Hard.. by ZoWnX · · Score: 5, Insightful

    Because downloading the JDK or the JRE after installing linux was hard? If it wasnt for this, I wouldnt be periodically using the latest version.

    1. Re:Hard.. by $RANDOMLUSER · · Score: 2, Insightful

      Exactly. Especially if you're running multiple versions of Java. What really annoys me is RPMs that expect an RPM-installed Java.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:Hard.. by CastrTroy · · Score: 5, Insightful

      I think it has more to do with having the distro do it for you. If we want Joe User to be able to use linux for their desktop needs, then we are going to have to make it as easy as possible for them to use. Of course the people in control of the distro are the ones making the decision. If they don't want to include it because of some ideological values, then that's their business. If they feel the people using the OS has can just install it themselves, then that's their business. But if they're trying to put out an easy to use desktop distro, then they'd probably be smart thinking twice about including it.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    3. Re:Hard.. by tepples · · Score: 1

      Because downloading the JDK or the JRE after installing linux was hard?

      If your distro installs the JRE, then it can use an updater written in the Java language for safety. If your distro installs the JRE, then Java will work even if the user can't get broadband without moving.

    4. Re:Hard.. by CastrTroy · · Score: 2, Interesting

      This is what bothers me most about RPM. If RPM didn't install it, then it doesn't exist. Sure you can force the install, but if the package wasn't installed where it was expected to be, then things often won't work properly. It doesn't help that a lot of things aren't available as RPM. I'm using Mandrake(iva) 2006, and it still only has Firefox 1.0.6 available.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    5. Re:Hard.. by /ASCII · · Score: 3, Informative

      That's the fault of lazy packagers, not a problem with RPM itself. You can specify dependencies on a particular file (like /usr/bin/java) insesad of a package if you want to. And if that's not enough (e.g. if you want to allow people installing into /usr/local/ or /opt) you can write little dependency checking scripts at install-time. For example, this snippet makes sure a few X headers are present, regardless of if they are installed in /usr or /usr/X11:

      %define xinclude %( if test -d /usr/X11R6/include; then echo /usr/X11R6/include; else echo /usr/include; fi )
      Requires: %{xinclude}/X11/StringDefs.h, %{xinclude}/X11/Xlib.h

      --
      Try out fish, the friendly interactive shell.
    6. Re:Hard.. by sgent · · Score: 1

      Or perhaps check for the exitance of $JAVAHOME.

    7. Re:Hard.. by SatanicPuppy · · Score: 1

      Building your own RPMs isn't all that difficult actually.

      Official instructions are here, but you can google for every one in the worlds opinion on how it should be done.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    8. Re:Hard.. by Reverend528 · · Score: 4, Funny

      Screw Joe User! Bob Sysadmin is lazy too!

    9. Re:Hard.. by Anonymous Coward · · Score: 0

      Actually, RPM can install tarballs also (look at rpm-build).

    10. Re:Hard.. by ronmon · · Score: 2, Informative
      It's not hard, but it is a pain in the neck. For example, in Gentoo:
      emerge dev-java/sun-jdk

      >>> Emerging (1 of 1) dev-java/sun-jdk-1.5.0.06-r2 to /
      !!! jdk-1_5_0_06-linux-amd64.bin not found in /net/distfiles

      !!! dev-java/sun-jdk-1.5.0.06-r2 has fetch restriction turned on.
      !!! This probably means that this ebuild's files must be downloaded
      !!! manually. See the comments in the ebuild for more information.

      * Please download jdk-1_5_0_06-linux-amd64.bin from:
      http://javashoplm.sun.com/ECom/docs/Welcome .jsp?...
      * Select the Linux AMD64 self-extracting file
      * and move it to /net/distfiles
      So you have to go there, accept the 'clickwrap' license, download it somewhere, then mv it to your distfiles directory. Unnecessary mumbo jumbo.
    11. Re:Hard.. by Anonymous Coward · · Score: 0

      I haven't bothered to get it in years. There's no compelling desktop applications that depend upon it outside of Eclipse (a java development environment). I suspect this is really an attempt to head off gjc and Mono where some actual applications have appeared.

    12. Re:Hard.. by cching · · Score: 1

      Sure, it's not hard to download and install a JRE/JDK, but now, with it being in the distro, all those OS java apps can be redistributed with the distribution making OS java apps much more appealing. Seems like a huge win for Java on Linux.

    13. Re:Hard.. by wheresjbob · · Score: 1
      It's all part of Sun's non-strategy for Linux. ;)

      No disrespect, but "Joe User" isn't going to use Linux (or Solaris) willingly for their desktop needs. If their boss throws is on their desk, they will. I think all of us techies and corporate types lose touch with what Joe User is like and is willing to tolerate. For now, the only Unix that Joe User embraces is one where they don't realize it's Unix (like OS X).

      The average user knows Windows. The average user hates change, because they feel that learning to use a PC was a necessary evil and don't enjoy experiencing it as continuing education. They have a hard enough time when AOL upgrades and the user experience changes or they have to reset their settings. To them it is a tool, not a project.

      No, this will not make Linux or Java more palatable for "Joe User" because Joe user is not like us. Just my opinion.

    14. Re:Hard.. by master_p · · Score: 2, Insightful

      Not everyone has internet access all the time or fast internet access. Don't forget that Linux is also distributed by magazines, then the Linux CDs are passed around to people that might not have internet access at the time or not have fast internet access.

    15. Re:Hard.. by Clinton · · Score: 0

      Many thanks to rpm's and Debian's alien tool, it really isn't that hard to install.

      --
      Half the time I'm right, the other half you're wrong.
    16. Re:Hard.. by drooling-dog · · Score: 1
      If we want Joe User to be able to use linux for their desktop needs, then we are going to have to make it as easy as possible for them to use.

      Because, after all, Windows comes with all of the software you'll ever need, right out of the box...

    17. Re:Hard.. by Anonymous Coward · · Score: 1, Insightful

      > That's the fault of lazy packagers

      Well yes, the lazy packagers at Red Hat, SuSE, on the Fedora project, etc... It doesn't help that you can do something if none of the official packages actually do it.

      Debian is the same way, though it provides a (rather hard to use) workaround of "fake" packages.

      BSD did things the right way, and Gentoo was wise to pick it up.

    18. Re:Hard.. by smoker2 · · Score: 1
      I'm using Mandrake(iva) 2006, and it still only has Firefox 1.0.6 available.
      Why don't you uninstall it and download the firefox package from Mozilla ?

      Unpack it and run firefox-installer from the command line. Once in place, all the latest versions of firefox update themselves. I just got 1.5.0.3 today (haven't used the browser all week, so it was probably available earlier). Painless upgrades (it upgrades then tells you you need to restart the browser to complete), and it checks for compatibility with your extensions too.

      I moved to this method back on FC3 because the FC upgrades were always late, and frequently broke things. Each user must have their own copy of course as it installs in the users home directory under firefox-installer.

    19. Re:Hard.. by AeroIllini · · Score: 2, Interesting

      So you have to go there, accept the 'clickwrap' license, download it somewhere, then mv it to your distfiles directory. Unnecessary mumbo jumbo.

      The whole point of the "mumbo jumbo" is to get you to agree to the license terms. This is also the reason why the earlier versions of Firefox 1.5 (compiled, not the binaries) did not have the official branding enabled in Gentoo; it was a licensing issue. As soon as Gentoo got permission from the Mozilla Foundation to distribute the trademarked images in the source, they reenabled official branding in the ebuild.

      But my question would be ... why doesn't Portage have the ability to show you the license and have you agree to it with a simple yes/no as the package emerges? Even though the Sun lawyers seem to have sidestepped the issue for Java, I'm sure there are other packages out there with incompatible licenses, which could then be included in Portage with a clickthrough.

      Anyway, good news for Java. Now I don't have to resort to the Blackdown version.

      --
      For security, the MD5 hash of this message and sig is 09f911029d74e35bd84156c5635688c0.
    20. Re:Hard.. by DerelictMan · · Score: 1

      Well yes, the lazy packagers at Red Hat, SuSE, on the Fedora project, etc... It doesn't help that you can do something if none of the official packages actually do it.

      Debian is the same way, though it provides a (rather hard to use) workaround of "fake" packages.


      Rather hard to use? Download the Java binary from java.sun.com and then:

      # apt-get install java-package
      $ fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin
      # dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb

      Seems really easy to me...

      See http://wiki.serios.net/wiki/Debian_Java_JRE/JDK_in stallation_with_java-package.

    21. Re:Hard.. by tgone · · Score: 1

      People like my mom don't want to worry about updating JRE. There has to be more support for distros that care about non-technies if Linux wants to gain any ground in the Desktop market. Linux just isn't there yet - but very close. Elitism is this community's greatest downfall.

    22. Re:Hard.. by tgone · · Score: 1

      I don't understand the nature of your comment. This is good news for Linux. Now it will be easier to bundle Java with a distro. I support moves like this because it will only make Linux a more powerful competitor.

    23. Re:Hard.. by Arandir · · Score: 1

      Not everyone is a Linux user. Until several weeks ago, installing Java on FreeBSD was a royal pain in the ass, because it was ILLEGAL to distribute prebuilt binaries. It still is on OpenBSD and NetBSD. You GNU users are far to complacent towards proprietary software.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    24. Re:Hard.. by Anonymous Coward · · Score: 0

      Actually, since switching to a x86_64 distribution, I have found setting up a web browser with the Java plug-in to be "hard."

    25. Re:Hard.. by aliquis · · Score: 1

      In the BSDS (atleast NetBSD or if it was FreeBSD) you can select all the licenses you accept in a file and then the ports/pkgsrc system knows about it later on.

  4. days of downloading Java by JoelMeow · · Score: 5, Funny
    days of downloading Java

    That's what you get for having a slow connection.

    1. Re: days of downloading Java by Arandir · · Score: 4, Funny

      I don't care how speedy your connection is, you can only click so fast on all those Sun license agreements.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  5. But what about Windows? by Anonymous Coward · · Score: 2, Funny

    Sadly, this means that Windows will be the only major OS that can't seem to come with Java delivered right out of the box. Maybe they'll address that problem with Vista?

    1. Re:But what about Windows? by Ash-Fox · · Score: 3, Funny

      Don't worry, there will be .NET instead.

      --
      Change is certain; progress is not obligatory.
    2. Re:But what about Windows? by Anonymous Coward · · Score: 2, Insightful

      This really comes down to marketing. Even if Java is useful for a majority of customers, Microsoft will not provide it because Java could diminish the effectiveness of their business strategy.

      This is a dangerous game to play - at what point does Microsoft stop supporting their customers for the sake of their business strategy? Some will say that that time came long ago, and that it is an implicit sign of anti-competetive, monopolistic practices. I disagree - as some could claim that Java is simply not appropriate for most users, and if it is required, then the user may install it.

      I think Microsoft's lack of proper open document support, as required by some local laws, is a much more glaring example of Microsoft's overt anti-commerse behaviours.

    3. Re:But what about Windows? by pebs · · Score: 1

      Don't worry, there will be .NET instead.

      So Java apps will run in IKVM?

      --
      #!/
    4. Re:But what about Windows? by debiguana · · Score: 2, Informative

      Actually, sun has been working to get OEMs (Dell, Gateway, etc.) to bundle the JRE with their systems.

    5. Re:But what about Windows? by MrNougat · · Score: 2, Informative

      As in another comment, Sun may get OEMs to bundle Java with systems they sell that have Windows preinstalled, but it's unlikely that Sun and Microsoft will come together to bundle Java with Windows directly anytime soon. Remember, it was legal issues between the two parties over the now defunct and soon to be EOL'ed Microsoft Java Virtual Machine that forced Microsoft to ditch MSJVM in the first place (rightly so, I think).

      --
      Web 2.0 == Giant Blogspam Circle Jerk
    6. Re:But what about Windows? by raitchison · · Score: 2, Insightful

      All joking aside, Windows users actually would stand to benefit the most from open sourcing Java. The Sun JRE, which virtually ALL Java apps are arbitrarily dependent on is one of the worst apps I've ever seen when it comes to memory utilization.

      I've seen Win32 apps consuming 150Mb of RAM.

      If Sun were to open source Java it could open the door to different, better JVMs that might even be able to spoof itself as "Sun JRE" for the myriad of poorly written Java apps that refuse to run on anything else.

    7. Re:But what about Windows? by nasch · · Score: 1

      How do you write a Java app that won't run on another JVM? Use com.sun packages?

    8. Re:But what about Windows? by neurojab · · Score: 2, Informative

      The Sun JRE, which virtually ALL Java apps are arbitrarily dependent on is one of the worst apps I've ever seen when it comes to memory utilization.

      When was the last time you came across a Java program that required the Sun JRE? I exclusively use the IBM JRE on Linux, and have never had a problem with compatibility.

    9. Re:But what about Windows? by raitchison · · Score: 1

      Not sure how they did it but the installer said something along the lines of "Sun JRE not detected" and offered to install it for me, wouldn't let me continue if I did not.

      Don't reall exactly which JVM I was trying to use at the time, perhaps it was LaTTE?

      Now I just avoid Java apps if possible.

    10. Re:But what about Windows? by raitchison · · Score: 1

      Last year when I was trying to install Galleon, though they have recently moved to compiled Java so I can't make the same complaint about that particular product now.

      Now I pretty much avoid Java apps like the plague.

    11. Re:But what about Windows? by nissu · · Score: 2, Insightful
      Not sure how they did it but the installer said something along the lines of "Sun JRE not detected" and offered to install it for me, wouldn't let me continue if I did not. Don't reall exactly which JVM I was trying to use at the time, perhaps it was LaTTE?
      From LaTTe homepage:
      • No AWT or Swing
      • Not Java 2 (only supports 1.1).
      • No bytecode verifier.
      • Lacks JNI support.
      • Incomplete class library.
      • No support for JAR or compressed ZIP archives.

      No wonder the installer refused to continue. In fact, it's a small miracle that LaTTe (a result of a research project, apparently) was able to start it in the first place, as it seems to implement only a small subset of Java 1.1 features rendering it totally unusable for running anything real - even when Java 1.1 was the latest release. Java 1.2 was released eight years ago.

      I've never quite understood why people seem to think that open sourcing Java would magically solve all the problems. For example, memory usage and relatively slow GUI performance seem to be one of the major gripes. Does someone really think that a bunch of open source coders who have never seen the sources before would be able to improve it in any reasonable time if the engineers at Sun cannot?

      And how many (smart) OS coders would actually care?

      However, fixing the relatively small bugs and annoyances in the standard Java libraries is certainly something that could be done by the 'community', as Sun seems to be notoriously slow in fixing some of the bugs..

    12. Re:But what about Windows? by eddeye · · Score: 0, Flamebait

      this means that Windows will be the only major OS that can't seem to come with Java delivered right out of the box.

      In other words, running Windows does have some benefits after all.

      --
      Democracy is two wolves and a sheep voting on lunch.
  6. slackware has jre in 10.2? by Edzor · · Score: 3, Interesting

    not sure about pervious versions of slack, but 10.2 ISO has it, i dont see the problem way other distro dont include it?

    jre-1_5

    1. Re:slackware has jre in 10.2? by Ash-Fox · · Score: 4, Interesting

      Mandriva Linux includes Sun's JRE5 too.

      --
      Change is certain; progress is not obligatory.
    2. Re:slackware has jre in 10.2? by moro_666 · · Score: 4, Informative

      i think debian/ubuntu keep away from it because it has an uncomfortable license that doesn't match with the rest of the system ;)

      most debian/gnulinux software is either gpl/lgpl or bsd (or alike) licensed, can be distributed without any restrictions just about anywhere. the license of java which you are supposed to read and accept while downloading and installnig, differs a lot from the "free as in beer" or "even more free than beer" licenses mentioned above.

      for the commercial distros - no idea, but possibly the same issue.

      --

      I'd tell you the chances of this story being a dupe, but you wouldn't like it.
    3. Re:slackware has jre in 10.2? by zerblat · · Score: 4, Informative
      The Binary Code License Agreement, under which Sun's Java implementations are licensed, only allow you to distribute their software if "[...]you do not distribute additional software intended to replace any component(s) of the Software[...]".

      That means that you can't also distribute e.g. gcj or GNU Classpath. The license isn't exactly clear on whether it means that you can't distribute Sun's JRE together with gcj or whether distributing Sun's software means you can't distribute gcj at all -- ever. It's also not clear exactly what they mean by "software intended to replace any component(s) of the Software". In the worst case, that could apply to any software that performs the same function as some part of the JVM, the byte compiler, the class library etc. Does distributing Swing mean you can't distribute GTK?

      --
      Please alter my pants as fashion dictates.
    4. Re:slackware has jre in 10.2? by boa13 · · Score: 1
      It's been there for a while. It first appeared in Slackware 8.0 in the contrib portion of the distro:
      Mon Apr 2 15:30:09 PDT 2001
      contrib/java/: Added Java(TM) 2 SDK, Standard Edition,
            Version 1.3.0_02. Thanks to Sun Microsystems for
            allowing us to include this with Slackware.
      It was moved to the official, standard set of Slackware packages in Slackware 9.1:
      Tue Aug 12 12:49:36 PDT 2003
      d/j2sdk-1_4_2-i586-1.tgz: Added Sun's Java(TM) 2 Software Development Kit,
        Standard Edition, Version 1.4.2 (from j2sdk-1_4_2-linux-i586.bin).
      Note that Slackware is a bit more relaxed with license requirements than most other distros. Most of the software is under the GPL, BSD and the like, but there are some exceptions, including Java and, for example, Xv, which is shareware.
    5. Re:slackware has jre in 10.2? by quanticle · · Score: 1

      SuSE 10 also includes the JRE by default.

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    6. Re:slackware has jre in 10.2? by quintesse · · Score: 1

      If I remember correctly one of the reasons RedHat/Fedora doesn't include it has to do with the fact that the Sun package installs all the stuff in the wrong directories (it is not LSB compliant) and the license specifically states that you must distribute the JRE/JDK exactly as-is so they are not allowed to make even minor adjustments to make the package better fit the system. I've been known to be wrong tho :-)

    7. Re:slackware has jre in 10.2? by Jason+Hood · · Score: 1

      Does distributing Swing mean you can't distribute GTK?

      GTK in Java is a "Look and Feel" not a competing GUI component kit. So no, they do not compete in any way.

      --
      Are you intolerant of intolerant people?
    8. Re:slackware has jre in 10.2? by Anonymous Coward · · Score: 0
      GTK in Java is a "Look and Feel" not a competing GUI component kit.

      It's a look and feel option in swing, but it's also a competing GUI compenent toolkit. They're two separate things. The latter is distributed by Debian.

    9. Re:slackware has jre in 10.2? by ReinoutS · · Score: 1

      Yes, but only in the paid-for boxed / Mandriva Club edition. The Free (downloadable) edition does not have it.

    10. Re:slackware has jre in 10.2? by Ash-Fox · · Score: 1

      > Yes, but only in the paid-for boxed / Mandriva Club edition. The Free (downloadable) edition does not have it.

      1) The Mandriva Linux for club members is also downloadable for free (but only for club members)
      2) The Mandriva Linux availible to non-club members is practically the same, except for the lack of flash and java (plus a few other minor things like the commercial ati/nvidia drivers -- Can just add the PLF repositories to get around that) out of the box however, as you stated.

      --
      Change is certain; progress is not obligatory.
    11. Re:slackware has jre in 10.2? by jZnat · · Score: 1

      And Mustang (Java 1.6) has an optional (?) dependency on GTK+ anyhow for native GTK+/Swing goodness. *tongue in cheek; I like Qt better*

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    12. Re:slackware has jre in 10.2? by Anonymous Coward · · Score: 0

      Sun's license doesn't exclude distributing the JRE _alongside_ other Java-related stuff (VMs or whatever). What it prohibits is components that actually replace the ones in the JRE, i.e. overwrite them with something else. Distributing GNU classpath, Kaffe, etc. would thus be perfectly OK, as none of these change the files or directory layout in the JRE itself.

      The point of this license is therefore to ensure that something which claims to be a Sun JRE actually is a Sun JRE, not parts of a Sun JRE with other, unspecified bits written by someone else.

  7. We already have open source Java by CustomDesigned · · Score: 5, Insightful
    Sun provides an open spec (actually multiple specs). There are open source implementations of the spec. Sun and others have proprietary implementations. There are applications where the open source implementations are superior (typically small memory and embedded). If you have tons of memory, Sun's Hotspot VM is very fast.

    If there are areas where the specs need improvement to get closer to the "Write Once Run Anywhere" goal, by all means complain about those areas.

    We want multiple competing implementations, both open and proprietary. That said, I could see Sun open sourcing the Java libraries - at least the Java parts. The SDK comes with Sun source for the publically visible parts of libraries. However, the licence precludes using that source in an open source VM. Instead, the GNU classpath project has to rewrite them from the spec.

    Keeping the Sun VM proprietary but opensourcing the libraries seems like a good compromise between maximum interoperability and competition.

    1. Re:We already have open source Java by $RANDOMLUSER · · Score: 1

      That is a fantastic idea! I'd love to see that: open source the java.* packages, but leave control of the language and the actual specs in Sun's hands. The best of both worlds.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:We already have open source Java by The+Warlock · · Score: 3, Insightful

      The problem is that the open-source implementations of Java tend to be a version or two behind the official Java, which can be a problem for some Linux users (such as CS students like myself).

      --
      I've upped my standards, so up yours.
    3. Re:We already have open source Java by Anonymous Coward · · Score: 3, Insightful

      Keeping the Sun VM proprietary but opensourcing the libraries seems like a good compromise between maximum interoperability and competition.

      Which is exactly why it'll never happen. The giant Java library ensures that, even with a 100% compatible JVM, most Java applications will only run on the Sun runtime. (Especially applications that use "sun.*" or "com.sun.*" packages in open defiance of Sun themselves saying not to do that. But that's beside the point.)

      Sun learned from their experience with Microsoft. When Microsoft had their own JVM implementation, Microsoft added various extra libraries and functionality to their runtime that Sun was missing. Sun responded by sueing, and forcing Microsoft to remove their JVM from Windows. (And then Sun responded to that by sueing Microsoft for removing their JVM from Windows...)

      By having a massive and hard to implement class library, Sun ensures that anyone else trying to create a compatible Java runtime will always be playing catch-up. They'll never be able to be 100% compatible with the "latest and greatest" Java runtime.

      And that's just the way Sun wants it - they're able to keep control of Java that way. Open sourcing the libraries would cause them to lose that control. And that's why it'll never happen.

      (It's worth noting that the source for all the classes that appear in java.* and javax.* are, indeed, available with the Sun JDK. However, the license prevents doing anything useful with them, and much of those classes rely on large amounts of code implemented in com.sun.* or sun.* packages, for which the source is NOT available.)

    4. Re:We already have open source Java by tomcres · · Score: 2, Insightful

      That's because Mr. Volkerding cares more about his users' experience in providing something that just works, works reliably, and is complete than ideology and software politics.. Slackware has been including xv (a shareware image viewer) since like Slackware 1.0..

    5. Re:We already have open source Java by jgilbert · · Score: 1

      my preference would be along similar lines. i would like it if they would separate the core language from the many pure java, vm indendepent library classes. the core would be along the lines of what the original j2me or personal java was. maybe java.lang.*, java.net, java.util., etc. actually separate the language from all the add-on libraries.

    6. Re:We already have open source Java by fossa · · Score: 2

      ...and perhaps the users of Debian *want* a completely DFSG Free distribution? There's room for both.

    7. Re:We already have open source Java by /ASCII · · Score: 2, Insightful

      The way I see it, there are three relevant levels of openness here:

      * A standard which is well defined, whose license can not be arbitrarily terminated and is provided to everybody free of charge or at a reasonable cost. (This is the most important one)
      * An open sourced reference implementation of that standard, prefereably released under the BSD licence so anybody can extend it. (This is nice but not crucial)
      * An open standards process. (If the standard is stable and well written, this is not all that important)

      Sun is doing the first but is avoid doing the second by giving the strawman argument that it would somehow imply the third.

      --
      Try out fish, the friendly interactive shell.
    8. Re:We already have open source Java by Matt+Perry · · Score: 2, Insightful
      We already have open source Java
      Yeah, and they don't work correctly. Just yesterday I was helping a person at work with their code. They had a Java program that was doing an LDAP query. It worked fine on other machines but not on one of the test machines. Turns out some JRE called Kaffe was in the path before the Sun JRE. Changing the path to the java executable fixed things.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    9. Re:We already have open source Java by NekoXP · · Score: 1

      By having a massive and hard to implement class library, Sun ensures that anyone else trying to create a compatible Java runtime will always be playing catch-up.

      Yeah because being feature-rich is an outright intentional action in order to stop people implementing compatible Java runtimes and class libraries.

      Wasn't there a day in the past when you got some software and thought "wow, it does everything I wanted it to", instead of "OMG this has too much relevant stuff. I wish I would have to code it myself. I bet they did this so that they can enforce their proprietary engines and technology!" or have you always been that paranoid?

    10. Re:We already have open source Java by Tim+C · · Score: 4, Insightful

      Microsoft. When Microsoft had their own JVM implementation, Microsoft added various extra libraries and functionality to their runtime that Sun was missing. Sun responded by sueing

      MS added classes to the java.* package hierarchy, in contravention to the terms of their licence. That's why Sun sued. Had MS put their classes in a com.microsoft package hierarchy like you're supposed to, Sun wouldn't have cared (or had a leg to stand on).

      The restriction was/is in the licence to prevent exactly what started to happen - people started using the classes, and thus were writing code that could only run on MS's VM, which is completely against the core Java ethos of "write once, run anywhere". (Ok, so in practice that's often easier said than done, but this was threatening to make it completely impossible)

      For what it's worth, MS didn't have to stop shipping a VM with Windows; they just had to stop shipping their non-compliant VM. They were perfectly at liberty to remove the offending classes and continue developing a compliant VM. Instead they chose not to do so, shifting their efforts to .NET instead.

      Especially applications that use "sun.*" or "com.sun.*" packages in open defiance of Sun themselves saying not to do that.

      That's a really dumb thing to do if you care about cross-release compatibility. There's no guarantee whatsoever that classes that are present in one release will be present in the next.

    11. Re:We already have open source Java by Decaff · · Score: 1

      If you have tons of memory, Sun's Hotspot VM is very fast.

      And it is pretty good even if you don't. For example, there is an implementation of Hotspot for J2ME/CLDC that runs in 1MB.

    12. Re:We already have open source Java by petermgreen · · Score: 1

      If there are areas where the specs need improvement to get closer to the "Write Once Run Anywhere" goal, by all means complain about those areas.
      the problem is twofold.

      1: the java.* and javax.* trees are bloody massive so reimplementing it all is a huge ammount of work
      2: most java developers don't give a fuck about runtime environments other than suns and some of the platform isn't very well documented (just go and have a look at some of the stuff in javax.swing.plaf). The result is that most java apps only work with sun java (and things that are slightly modified versions of it rather than from scratch implementions). This is essentially the same problem that wine has.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    13. Re:We already have open source Java by H0p313ss · · Score: 1

      which can be a problem for some Linux users (such as CS students like myself)

      As a CS student you should be able to get the sun JRE/JDK going on your linux box. (I speak as a former CS student who just did it... (again)...) I found it took about an hour to find useful instructions and less than five minutes to follow them.

      That being said, I agree that having the option of installing a real sun JRE/JDK with apt-get or rpm WITHOUT dropping to the command line or hacking configuration would be a BIG bonus and widen the audience beyond CS students and linux gurus.

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    14. Re:We already have open source Java by Anonymous Coward · · Score: 0

      For example, there is an implementation of Hotspot for J2ME/CLDC that runs in 1MB.

      Bullshit.

    15. Re:We already have open source Java by TheRaven64 · · Score: 1
      Actually, Sun is doing the third too. If you want to get involved with the development of the standard, you can. Sun is not doing the second because they don't want there to be incompatible versions that ignore the standards process. This may back fire, because there are likely to be two Free almost-compatible implementations in the near future which are not called Java, but work 90% of the time.

      --
      I am TheRaven on Soylent News
    16. Re:We already have open source Java by Anonymous Coward · · Score: 1, Informative

      actually the complete jvm source is available, including com.sun packages and hotspot implementation, under sun's research license (you can do whatever you want with it, but you can't redistribute it).

    17. Re:We already have open source Java by david.gilbert · · Score: 1
      Please (if you have the time) file a bug report with as much relevant information as you can:

      http://www.gnu.org/software/classpath/bugs.html

      That way, in the future you'll be less likely to run into such problems.

    18. Re:We already have open source Java by Decaff · · Score: 2, Informative

      Which is exactly why it'll never happen. The giant Java library ensures that, even with a 100% compatible JVM, most Java applications will only run on the Sun runtime. (Especially applications that use "sun.*" or "com.sun.*" packages in open defiance of Sun themselves saying not to do that. But that's beside the point.)

      Sorry, but this is plain wrong. Most Java applications will run on any certified JRE of the appropriate version. That is the point of certification of the JDK and JRE! Even some of the largest and most complex Java applications like Eclipse will run on any vendor's JDK. Even Sun's NetBeans will do this!

      Anyway, most Java applications are Web applications, deployed on J2EE app servers like Tomcat and JBoss: these have no specific requirements for the Sun JRE.

      By having a massive and hard to implement class library, Sun ensures that anyone else trying to create a compatible Java runtime will always be playing catch-up. They'll never be able to be 100% compatible with the "latest and greatest" Java runtime.

      This is rather strange and conspiratorial thinking! Sun don't include a large library with Java to ensure that anyone else plays catch-up - the library has been extended over the years based on developer demand, with things like a more powerful Collections framework (Java 1.2) and concurrency utilities (Java 1.5).

      And that's just the way Sun wants it - they're able to keep control of Java that way. Open sourcing the libraries would cause them to lose that control. And that's why it'll never happen.

      There is no reason why open sourcing would involve any loss of control. Something can't be called 'Java' unless it passes the compatibility tests, open source or not.

      There are already an open source projects which intents to provide a full, up-to-date implementation of Java - Apache Harmony.

    19. Re:We already have open source Java by david.gilbert · · Score: 2
      1: the java.* and javax.* trees are bloody massive so reimplementing it all is a huge ammount of work

      It is, but GNU Classpath is almost there (for J2SE 1.4 at least). For 1.5, there is a little more work to do:

      http://www.kaffe.org/~stuart/japi/htmlout/h-jdk15- classpath-generics.html

      2: most java developers don't give a fuck about runtime environments other than suns and some of the platform isn't very well documented (just go and have a look at some of the stuff in javax.swing.plaf).

      I work on the javax.swing.* packages in GNU Classpath, and Sun's "spec" here truly is woeful. We're trying hard to make sure the API documentation for GNU Classpath is more...informative.

      In spite of the poor specification, GNU Classpath's javax.swing implementation is looking relatively good. The major missing piece (being worked on now) is a decent Graphics2D implementation (not strictly part of Swing, but a lot of Swing apps, and look-and-feels, need it). The text/HTML code still needs work too, but good progress is being made.

    20. Re:We already have open source Java by Matt+Perry · · Score: 1
      Please (if you have the time) file a bug report with as much relevant information as you can
      Thanks for the tip. I will do that today.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    21. Re:We already have open source Java by Phillip2 · · Score: 1

      The libraries can't be straightforwardly open sourced and included on any JVM. The core java libraries are not written totally in Java, but have lots of native code; those parts of the code which depend on native code differs between JVM's.

      Bottom line; Java code is portable between JVM's, but the library isn't written in Java.

      Phil

    22. Re:We already have open source Java by cecom · · Score: 2, Insightful

      Sorry, but this is ridiculous.

      apt-get install java-package
      fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
      sudo dpkg -i sun-j2sdk1.5_1.5.0+06_i386.deb

      If this took you a whole hour, you are in BIG trouble my friend :-)

    23. Re:We already have open source Java by IntlHarvester · · Score: 1

      MS added classes to the java.* package hierarchy, in contravention to the terms of their licence. That's why Sun sued. Had MS put their classes in a com.microsoft package hierarchy like you're supposed to, Sun wouldn't have cared (or had a leg to stand on).

      That was only the half of it. Microsoft also extended the Java language by adding Delegates (see C#), and a form of native code binding that was not JNI (see C#).

      Both these features required non-standard and incompatible JVM opcodes that crashed other VMs. It was also something that couldn't be fixed without working with Sun to alter the standard (and Sun was in no mood to do so).

      So, it was a much deeper issue than some class locations. I think if MS could have easily tweaked J++, they probably would have, but ulitimately the legal requirements on J++ removed any reason for it to exist.

      --
      Business. Numbers. Money. People. Computer World.
    24. Re:We already have open source Java by Monkey · · Score: 1

      Note that he said he was a *former* CS student.

      Installing the RPM version is also a 5 minute process, 4 of which are spent downloading the JDK.

    25. Re:We already have open source Java by Cal+Paterson · · Score: 1

      He means problems related to using the Free Software ones. He's not prepared to use the Sun non-free version, by the sounds of it.

    26. Re:We already have open source Java by H0p313ss · · Score: 1
      apt-get install java-package fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin sudo dpkg -i sun-j2sdk1.5_1.5.0+06_i386.deb

      Those are the instructions... and as soon as I knew that It was quick and easy. (And almost painless...) As a software "professional" it was no real challenge. The problem is that you're all assuming that Linux users are as competent.

      How long do our casual users have to point out USABILITY issues before we stop being apologists?

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    27. Re:We already have open source Java by chester_br · · Score: 1
      Especially applications that use "sun.*" or "com.sun.*" packages in open defiance of Sun themselves saying not to do that.
      That's a really dumb thing to do if you care about cross-release compatibility. There's no guarantee whatsoever that classes that are present in one release will be present in the next.
      Yes, it *sure* is. However, corporate "developers" do it all the time: they hit Ctrl+Space (or anything like that) on their IDEs, and hope that the Package God brings a nice class, and use it, never bothering to read the docs (those that sometimes are available just by hovering over the class name) or wondering about where they came from.

      Considering that most of these guys are more than satisfied with simple answers like "hey, it worked before this @#%@# JVM upgrade" when problems arise, I don't believe Sun is very motivated to change anything under com.sun.*, unless it is absolutely necessary (never cared to check it out because I don't touch the fruit of the forbidden tree anyway :-) ).

      Of course this kind of bad-customer/forgiving-supplier dynamics only perpetuates such problems, but it just so happens, not only with Sun (see Ray Chen's blog's frequent posts about the hurdles that Windows has to jump to keep up with popular apps that abuse of undocumented features, so MS won't be trolled for those apps not running on newer Windows releases).
    28. Re:We already have open source Java by Decaff · · Score: 2, Informative

      "For example, there is an implementation of Hotspot for J2ME/CLDC that runs in 1MB."

      Bullshit.


      No, it is a fact:
      http://java.sun.com/products/cldc/faqs.html

      "13.What is the CLDC HotSpot Implementation?

      The CLDC HotSpot[tm] Implementation is a high performance, battery-preserving virtual machine that is compliant with the CLDC specification. It not only offers significantly improved performance over the KVM, but it also offers greater portability and faster time to market. The CLDC HotSpot Implementation is suitable for devices based on ARM microprocessors/controllers, and with 512KB to 1MB of total memory available for the Java technology stack. The latest release of the CLDC HotSpot Implementation is version 1.0.1."

    29. Re:We already have open source Java by nissu · · Score: 1

      In addition to adding their own stuff, Microsoft's JVM didn't support RMI which was (and still is) a part of Sun's JVM.

    30. Re:We already have open source Java by eddeye · · Score: 3, Insightful
      which can be a problem for some Linux users (such as CS students like myself)
      As a CS student you should be able to get the sun JRE/JDK going on your linux box. (I speak as a former CS student who just did it... (again)...)

      As a former CS student *and* instructor, take my advice: run away from Java as fast as you can. I'm not saying it's a bad langage/environment or doesn't serve some audiences very well. But Java's like cigarettes, starting on them too early stunts your growth.

      CS students need to learn as many different programming approaches and concepts as they can. Procedural languages (C et al), iterative (generators, Python/Ruby), functional (lisp), declarative (prolog), message passing, object oriented, generic programming, closures, static vs dynamic typing, etc. Breadth of exposure to different approaches is crucial to knowing what approach to take with real-world problems. This should be coupled with a depth of understanding of what the system does 'under the covers' at each level. It makes all the difference in the world when facing unexpected problems and differentiates a code monkey from an engineer.

      Unfortunately Java covers only a couple of these areas and none of them particularly well. Standardizing classes on Java is one of the worst things a CS dept can do. If you're stuck in this boat, all I can suggest is play around with other languages every chance you get.

      --
      Democracy is two wolves and a sheep voting on lunch.
    31. Re:We already have open source Java by Anonymous Coward · · Score: 0

      Yeah, I did that. Now how do I get my Java applications to display fonts correctly? And more generally how do I get my Java applications to use a UI that's compatible with the rest of my system? How do I get Java applications to play nicely with the way I have audio configured on my OS? I don't think I can, and I've given up on trying regardless. Dealing with Java is just too much of a pain in the ass. If Sun really wanted to improve the situation they would write native code compilers. I'd much rather have an application that worked well on one system than an application that worked half-assed on three or four systems, or whatever Sun considers "anywhere" these days.

    32. Re:We already have open source Java by Decaff · · Score: 1

      Yeah, I did that. Now how do I get my Java applications to display fonts correctly?

      Use SWT, or install Java 6.0.

      And more generally how do I get my Java applications to use a UI that's compatible with the rest of my system?

      Use Java Native Desktop Components or SWT, or install Java 6.0.

      How do I get Java applications to play nicely with the way I have audio configured on my OS? I don't think I can, and I've given up on trying regardless.

      Try the Java Media Framework.

      If Sun really wanted to improve the situation they would write native code compilers. I'd much rather have an application that worked well on one system than an application that worked half-assed on three or four systems, or whatever Sun considers "anywhere" these days.

      Having native code precompilation is irrelevant. What matters is the interfaces to the operating system, and these do not depend on whether the bulk of the Java code is native or not.

      Certified Java runs on far more platforms than those supported by Sun's implementation.

    33. Re:We already have open source Java by kcarlin · · Score: 1

      We already have open source Java

      Yeah, and they don't work correctly. Just yesterday I was helping a person at work with their code. They had a Java program that was doing an LDAP query. It worked fine on other machines but not on one of the test machines. Turns out some JRE called Kaffe was in the path before the Sun JRE. Changing the path to the java executable fixed things.


      Ya gotta stick to that bug-free payware, bud!!! Yeah, that's the ticket!!!

      (In payware, your license agreement classifies that stuff as "features".)

      --
      Free Adam Smith! (Or best offer.)
    34. Re:We already have open source Java by Matt+Perry · · Score: 1

      What are you talking about?

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    35. Re:We already have open source Java by kcarlin · · Score: 1

      Microsoft also, in keeping with their philosophy of empowering script kiddies recruiting zombie spambots, declined to implement the Applet "sandbox" architecture in their JVM. The sandbox prevents unauthorized access by Java applets downloaded from the Internet to files and tasks on the users' machine. Microsoft disdained such measures.

      --
      Free Adam Smith! (Or best offer.)
    36. Re:We already have open source Java by Anonymous Coward · · Score: 0

      Why would anyone standardize on Java. Most schools I've seen use it as an introductory language. That doesn't mean they don't use others for other classes.

  8. Sun's commitement? by SWroclawski · · Score: 4, Interesting

    I remember hearing about two or three weeks ago that Sun said it was committed to "Open Sourcing all of its software, everything they make."- this is from LugRadio and a Sun representative.

    Given this /very/ progressive stance, I don't see why they're stalling when it comes to Java.

    If anything, this slows Java adoption.

    Java was all the rage in the late 90s. Had they made it Free, I think it would have been a tour de force. Now we see competition from simpler technologies. We're learning that we don't need a J2EE infrastructure when a simple Model-View-Controller model with a database backend will do the job just as well, and so on.

    Freeing Java would spread adoption, if nothing else than by including it in every distribution shortly thereafter.

    This new license system isn't good enough, it'll just frustrate people.

    1. Re:Sun's commitement? by tomcres · · Score: 1

      I think their problem with Java is that if they totally free it, then they no longer control the language itself. It could lead to compatibility issues where certain distributions of Java have one API or feature and others don't... basically it would become Linux.

    2. Re:Sun's commitement? by fossa · · Score: 4, Funny

      (Luke Skywalker stands hands bound on the edge of a plank)

      "Java! This is your last chance. Free yourself, or die."

      (laughter ...but Java the Hutt will soon learn he's too sluggish as he is choked to death by Princess Ruby)

    3. Re:Sun's commitement? by $RANDOMLUSER · · Score: 1
      > basically it would become Linux

      No, it would be much worse. Think back to the bad old days of Basic, where each vendor had their own version of the language. Think pre-ANSI pre-stdlib C++.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    4. Re:Sun's commitement? by Tim+C · · Score: 2, Interesting

      We're learning that we don't need a J2EE infrastructure when a simple Model-View-Controller model with a database backend will do the job just as well, and so on.

      There's nothing stopping you from implementing that MVC architecture in Java with a servlet container, of course - in fact, in my experience the vast majority of websites that use Java use it in exactly that way.

    5. Re:Sun's commitement? by SWroclawski · · Score: 1

      I don't see this as a real problem for a variety of reasons.

      First, as many have pointed out Java is a trademark that Sun owns. They can control it. I can't fork Java and call it Java. I could maybe fork it and call it "Half-Skim Soy Latte" but that's not Java.

      Considering how many Java alternatives there are already, I don't see it getting worse.

      But there are plenty of languages with an official version other spinoffs. Perl and Python both have an official version and then spinoffs.

    6. Re:Sun's commitement? by mwood · · Score: 1

      They're not necessarily stalling. Sun's a big company. It takes a while to pass The Word to all of the middle managers and beat the lawyers into submission.

    7. Re:Sun's commitement? by /ASCII · · Score: 1

      You are confusing an open reference implementation with an open standard. They are not the same, and so long as Sun controls the standard, there is no harm in making their reference implementation open.

      --
      Try out fish, the friendly interactive shell.
    8. Re:Sun's commitement? by iggymanz · · Score: 1

      except you'll need to spend 2x the money for all the bloated layers j2ee requires. I work for a VAR, java sells hardware, that's for sure. Of course, some of our clients are waking up and realizing they can't afford java anymore. And I love it when benchmarks "proving" java speed are procedural math codes, do some actual oo stuff and you'll see what a pig it truly is.

    9. Re:Sun's commitement? by ThePhilips · · Score: 1
      Old tried - and wrong - argument. Analyst already warned couple of years ago that Sun is turning from hardware company into software one. At a time, Java unit which sell development tools and enterprise buzz-word related stuff was only growing and profiting unit at Sun.

      You can't expect the product Sun somehow is selling and brining money be changed drastically right away.

      P.S. And Sun is still losing in its hardware business.

      --
      All hope abandon ye who enter here.
    10. Re:Sun's commitement? by cecom · · Score: 1

      Isn't he saying that you don't need to use J2EE _at all_ ? If you ask me J2EE is a pile of crap, but Java itself is a very usrful language. Yes, I agree it can be slow in absolute terms, but there isn't anything faster offering the same ease, so for now it is a good compromise.

    11. Re:Sun's commitement? by Anonymous Coward · · Score: 0

      That would lead me to think that your client's are not very good programmers. I work at an insurance company, and its way up there when it comes to data center, app server etc. requirements. We don't go by the buzzwords and use J2EE layers willy nilly.
      The only place we do use EJB's are 3-4 components which get us standard data. Rest all is struts running on Hibernate.
      Now struts is a big win when it comes to writing maintenable web apps. We could do it all in JSP code and remove all layers but over time, all those DB hits etc. take their toll. That's where hibernate comes in. Its very effecient in making DB calls and I as a dev don't have to worry about how it does that.
      You could argue that we are using 2 layers of J2EE tech where we could write all our code in JSP's. But in the long run, as the apps get bigger, I have seen its always better to write managed code.

    12. Re:Sun's commitement? by Anonymous Coward · · Score: 0

      I object with calling the stance progressive. That's the kind of wording that leads to believing it's a step forward to treat criminals like saints and unborn babies like dumpster filler.

    13. Re:Sun's commitement? by bladesjester · · Score: 1

      I wish I had mod points, because this comment is really spot on. Turn it completely over, and I have no doubt that there would be people rabidly adding things like multiple inheritance (which was left out for a reason) and basically trying to turn Java into another C++ (which it was never meant to be).

      Personally, I trust Sun and the commitie that they created to guide the development of Java to keep java going more than I trust the community at large to do it. Why? Because, for some reason, most open source languages tend to end up looking much the same to me (or, at most, 3 or 4 "origionals" and then a lot of copies that look a lot like one of the origionals)

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    14. Re:Sun's commitement? by msuarezalvarez · · Score: 1

      Yup. History tells us that. That is why there are 132 incompatible versions of Perl out there, and 62 versions of Python, and, of course, all those dozens of versions of C.

    15. Re:Sun's commitement? by Anonymous Coward · · Score: 0


      (Luke Skywalker stands hands bound on the edge of a plank)

        "Java! This is your last chance. Free yourself, or die."

        (laughter ...but Java the Hutt will soon learn he's too sluggish as he is choked to death by Princess Ruby)


      May the Shwartz be with you.

    16. Re:Sun's commitement? by mabinogi · · Score: 1

      > except you'll need to spend 2x the money for all the bloated layers j2ee requires.

      J2EE doesn't require any layers, it's simply a set of guaranteed-to-be-available APIs and services. You pick the ones that are appropriate for your needs and ignore the rest.

      --
      Advanced users are users too!
    17. Re:Sun's commitement? by iggymanz · · Score: 1

      In real world implementations, there's layers out the wazoo, my employer thanks you for the hardware sales.

  9. The Triad of DOOM! by alucinor · · Score: 1

    This is great! Now Linux development can equally support the Big Three: Java, .NET (Mono), and the P-languages (plus one R)! The next step ... get it all to run on Parrot! Convergence like none other, bwa ha ha huh!

    --
    random underscore blankspace at ya know hoo dot comedy.
    1. Re:The Triad of DOOM! by leoxx · · Score: 1

      Actually that is a good point. I wonder if the recent inclusion of Mono in Fedora core 5 helped prompt Sun to do something about Java.

  10. Limits? by J.Y.Kelly · · Score: 4, Insightful

    Unfortunately the article is a bit light on details. It says that Sun are going to make the JRE easier to redistribute but that on it's own isn't enough for many distros. It would also have to be at least able to be repackaged (so it goes somewhere more friendly that the Sun supplied RPM) and preferably modified (to make it play nicer with the rest of the system) before it's really useful.

    Also, it's a shame it seems they're only going to include the JRE. Nice and easy for linux users to run java programs. Shame they won't be able to write any...

    1. Re:Limits? by oneandoneis2 · · Score: 1

      Eh, they probably figure that if you're smart enough to be able to write Java, you're smart enough to know how to install it ;o)

      --
      So.. it has come to this
  11. Java as electricity by aphaenogaster · · Score: 5, Interesting

    Odd analogy, but I guess it kind of makes a little sense maybe... http://www.forbes.com/2006/05/04/sun-microsystems- schwartz-cz_ec_0504schwartz.html?partner=yahootix In shwartz's words...

    Forbes:

    You're trying to woo customers with free hardware. How do you make them paying customers? You haven't monetized Java proportional to what's out there.
    JShwartz:

    That's a misnomer. Largely an American misnomer. Nearing 1 billion Java handsets.

    Forbes:

    So what's your Java revenue?

    JS:

    Close to $13 billion.

    F:

    That's not money in Sun's pocket, though.

    JS:

    It's like asking a company that produces generators how much of their demand comes from people using electricity. It's 100 percent.

    F:

    But it's about how many customers are paying you for the privilege of using Java.

    S:

    And I'll point out that a billion handsets fuels an enormous market in the telecommunications industry. Java running on Sun's Java Enterprise system, whether it's at American Express or General Electric or Vodafone, is fueling Sun's overall revenue. Asking us how much money we make on Java is like asking Verizon Communications how much money they make on handsets. The fact is that they lose a fortune on handsets, but they make a fortune in subscribers.

    F:

    So are you going to convert Java users to subscription service for Sun?

    S:

    Partially, we're already doing that. American Express runs on the Java Enterprise system. That's per employee subscription for core middleware for Sun. My broader point is that Java ensures Sun has access to an open market. Java allows us to reach out to customers who don't run on Sun hardware and ensure we can serve them wherever they may be--whether it's on a Dell box or HP box or in an IBM customer base.

    Again, it's hard to explain to people. Here's an analogy. With the advent of electricity, Thomas Edison tried to patent a lightbulb so that you would have to use his lightbulbs if you used his dynamo. That strategy obviously failed. And what emerged was the standard plug. Asking Sun the value of Java is like asking GE--which is, I think, the largest manufacturer of power turbines in the world--what the value of the standard plug is. It ensures they can serve a global marketplace. So if you asked them what's the value of the plug, how would they respond?

    Here are some stats on Java: There are more than 1 billion Java cards in the marketplace, securing everything from set-top boxes to handsets. There are more than a billion Java handsets, all driving demand for network infrastructure. There are nearly 1,000 members of the Java community process, who collectively contribute to the standard called "Java." It is the default standard for set-top boxes in Brazil. So what will the infrastructure opportunity be in Brazil to serve 100 million Java-enabled set-top boxes? I promise you it will be enormous, and Sun will be among many participants that can serve that demand.

    1. Re:Java as electricity by Zigurd · · Score: 2, Interesting

      Schwartz is right, to the extent he can be at this time: Sun does benefit from Java.

      The interviewer, however, has a point that Schwartz did not address: It is equally clear that Sun could benefit more from Java.

      Schwartz brings up mobile Java. Sun won by default: Qualcomm keeps their application environment on their chips, and Microsoft keeps their's on their OS. Schwartz has no answer to how this victory is monetized. There are some obvious missed opportunities in mobile commerce servers, for example.

      If Sun really wants Java to be like electricity and Sun to make generators, the open-sourcing of Java is critical: It has to be a top-tier choice when considering managed lanaguages for all kinds of Linux software, including desktop software. That means it has to be in the top Linux distributions - VM, libraries, everything.

      Sun has done a great job of turning NetBeans into an open sourceIDE that is very approachable for beginners. Matisse brings NetBeans up to Visual Studio standards and beyond for making GUI layout easy. Debugging, profiling, and round-trip UML are easy and free in NetBeans. If they can convince Red Hat and Ubuntu to bundle Java and Netbeans, it will be the path of least resistance for new coders making application on Linux.

      After that, Sun still has the task ahead of it of getting the most out of Java in a market that rejects lock-in. There will be no replay of the dot-bombs that raised millions and immediately spent millions on Sun hardware and Oracle database software. Sun has to make their hardware the most attractive for key segments of a market that is using Java. They have a good start in their deals with Google. They need to build on that.

    2. Re:Java as electricity by PitaBred · · Score: 1

      Not everything has to be directly monetized... Sun is keeping a hell of a lot of mindshare with Java. Any time anyone thinks "java" they almost invariable think "sun", which is a good thing for them. Lots of decision makers will be thinking "Hmmm, we have a java application on our server, and sun makes java... maybe we should have a sun server?"

    3. Re:Java as electricity by KenSeymour · · Score: 2, Interesting

      I have been using Java for several years now. But I haven't touched Sun hardware in a long, long time.

      Even when I did, my employers did not like having to provide both a Sun workstation and a Windows box for every developer.

      I remember when a spreadsheet first became available for a Sun Workstation. It was called Wingz.
      Since it was a "powerful unix machine capable of supporting multiple users" they decided to charge
      about $1000 for a spreadsheet program.
      So for a long time, Unix software vendors kept your average business from moving to a Unix desktop.
      About the same time, running Unix (SVR4) on PC hardware was also about $1000 for the OS.

      My employer at the time also spent on the order of $100,000 for a CAD package that ran on Sun 3 (Motorola 68000
      based) hardware. Shortly after that, Sun came out with SPARC. So no one wanted to
      use the old CAD software on slower hardware, and they were never able to recharge the cost
      of the CAD system back to projects.

      At the time, there was still lots of software that could only run on VMS or Unix on mini-computers.
      Today, much much more can be done on either Linux or Windows running on commodity hardware.
      Companies only use commercial Unix hardware when the have to and when they don't have even bigger iron.

      Java allows development teams to develop for Linux/Unix servers and give their developers one desktop
      running Windows. You can have a Linux desktop if you find a castoff PC within the company to sit
      next to your company-provided Windows desktop.

      Lucky for me 1) I never bought Sun stock and 2) I learned Windows programming so I could stay employed.

      To me, it looks like a big chunk of the job market for developers is divided between .NET and Java/J2EE.

      I don't see how Sun is ever going to sell significantly more proprietary hardware than they do today.

      People can buy Sun servers. But they don't have to. And with Java, they can port their server code to Linux
      on XYZ vendor hardware.

      --
      "We can't solve problems by using the same kind of thinking we used when we created them." -- Albert Einstein
    4. Re:Java as electricity by Bamafan77 · · Score: 1
      Forbes: So what's your Java revenue? JS: Close to $13 billion.
      Nice evasion by Jonathan, there. This guy should be in politics. I can't believe some of the other replies are actually defending that as a reasonable answer to the question. ;)
  12. micro payment opinion submission by spottedkangaroo · · Score: 1

    This is the kind of thing you'd like to reward a company for. All companies should have a comment submission box where you can click, "I totally dig what you just did, here's my dollar that says I really mean it." ... is that a crazy idea? I mean, in all seriousness. The dollar is the only vote an american really has.

    --
    Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
    1. Re:micro payment opinion submission by palfrey · · Score: 1

      Only if we also get a button that says "your idea is heavy on PR fluff, contains zero real information and it was in fact a waste of my time to RTFA. Therefore, I would like one of your dollars to compensate for my wasted time"

      --
      Beware the psychokinetic mimes!
    2. Re:micro payment opinion submission by forgotten_my_nick · · Score: 1

      Isn't that the whole point of shares (apart from getting some money back)

  13. Programs, getcha programs here! by Chris+Pimlott · · Score: 4, Informative

    Section 5.3 of the Debian Java FAQ sums up the present licensing issues that prevent Debian from including Sun Java.

    1. Re:Programs, getcha programs here! by Saxophonist · · Score: 1

      But do note that java-package, in the contrib section, enables installation of Sun (or Blackdown or IBM) Java as a Debian package. You still have to download from Sun and go through the license agreements, though, but it's still somewhat better than installing manually.

  14. I wish Java was more like CPAN by johnnnyboy · · Score: 5, Interesting


    The more I hear calls that Java to be more open source the more I wish all these Java libraries worked like the way CPAN does.

    CPAN is great and its what keeps Perl relevant and it works well for the Perl community. All these java libraries bundled with the JDK should be more modular with a lean core distro and then the rest can be organized and installed as modules.

    And like everything CPAN all these modules will be peer reviewed by other Java developers in the open source and corporate worlds.

    Ah, one can only dream.

    --
    "If a show of teeth is not enough, bite ... but bite hard!"
    1. Re:I wish Java was more like CPAN by lagerbottom · · Score: 1

      /me clutches chest. Is it? Do I hear? Ahhh, a voice of reason.

      --
      "He was a wise man who invented beer." - Plato
    2. Re:I wish Java was more like CPAN by vdboor · · Score: 2, Interesting
      All these java libraries bundled with the JDK should be more modular with a lean core distro and then the rest can be organized and installed as modules.

      So you mean that the distribution should decide which modules/classes it should omit?

      That could cripple the standard platform of Java modules developers can depend on. It could cause worst-case scenario's like this one, quoting:

      Debian has packaged Wine in a way different to upstream, and this can cause extremely subtle bugs. One incident that sticks in my mind is where I wasted an entire Sunday afternoon and evening working with a user to track down why a program was crashing when they selected a menu item. It turned out that when the program started it was querying a registry key that didn't exist, and squirreling away a NULL pointer in some internal data structure. And when it tried to access that key it crashed. Why was the key missing? Because the installer invoked the regedit.exe program to merge a pre-written .reg file into the registry, which is more convenient than using the registry apis. No error checking of course because on Windows this cannot fail. And why was regedit.exe missing? Because Debian decided it looked like a "utility" and as such should be in an optional package
      --
      The best way to accelerate a windows server is by 9.81 m/s2 ;-)
    3. Re:I wish Java was more like CPAN by LnxAddct · · Score: 2, Insightful

      Dumb idea, and that is why you aren't in charge of these things. One of the biggest pains in the ass with perl software is that whenever you run it you have to read a 20 page reamde saying "Before you run this program, you need to run this list of commands in this order so you can install the dependencies." In good scenarios you just run a script first, or in some circumstances you can use the distro's package management, but regardless it is a pain in the ass. Java's "everything and the kitchen sink" approach is way better. You no longer concern yourself with such nonsense. If you distribute a java program, you'll know the receiver has the capability to do graphics, encryption, compression, sound, XML handling, networking, etc... all without having to lift a finger. Java is a platform. I only wish more languages, in particular Python, would get a set of libraries that is as comprehensive as Java's and comes by default. Keep in mind that since the 5.0 JDK you've been able to create a minimal redistributable JRE that includes only what your program needs to run (you use pak200, which is a utility that comes with Java 5.0), but by default the JRE should definitely include everything... it makes life and integration soooo much easier in the end.
      Regards,
      Steve

    4. Re:I wish Java was more like CPAN by Anonymous Coward · · Score: 0

      "you have to read a 20 page reamde"

      For a moment, I thought you had written:

      you have to read a 20 page ream me

      and then I thought: this sounds like perl.

    5. Re:I wish Java was more like CPAN by Anm · · Score: 1

      From GP post: "One of the biggest pains in the ass with perl..."

      From Parent Post: "...a 20 page ream me"

      Ouch... thats not a pretty picture...

    6. Re:I wish Java was more like CPAN by SpaghettiPattern · · Score: 1

      I couldn't disagree more.

      Sure, CPAN is a collection of stuff that works. And you can hack your way around with the modules.
      The think that irritates me horribly is that the Perl name space is guarded by a bunch of dickheads. I know. I am -was- a CPAN contributor and gave up on it because of this. I refuse to waste my time over name space issues.
      Any other Perl modules I'll distribute will have my domain name as part of the name space. Something like Org::SpaghettiPattern::SuperDuperPkg. Or, I might distribute Java code like Org.Spaghettipattern.duperduperpkg.

      I like the way Sun is keeping java.* and to an extent javax.* reasonably clean. The Java class library size doesn't bother me. What would bother me is that I would have to select every trivial package I need in my distribution. Also, when was the last time you reviewed Perl code?

      --

      I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  15. Well I do declare! (as grandma said) by davecb · · Score: 3, Insightful
    Now that they've released their newest chipset under the GPL, they're going around and looking to see how much they can loosen their other licenses.

    Java, due to MS's efforts to subvert it, is probably the hardest to free up, but this is a good, workmanlike step in the right direction.

    --dave

    --
    davecb@spamcop.net
    1. Re:Well I do declare! (as grandma said) by /ASCII · · Score: 1, Troll

      In what way is this related to the MS J++ effort? MS tried to pervert the _standard_ through an incompatible implementation, they could have done it without any access to the Sun source. It might even be easier to write a subtly incompatible Java version if you don't look at the source.

      If anything, I think the Sun vs. MS war on Java shows why an open reference implementation can strengthen a standard.

      --
      Try out fish, the friendly interactive shell.
    2. Re:Well I do declare! (as grandma said) by davecb · · Score: 4, Insightful
      Because MS tried so very hard to embrace and extand Java, it's reasonable to expect that the Sun lawyers are going to be very reluctant to change anything, for fear of starting the war back up.

      Sun engineers, on the other hand, arguably agree with your desire to move to free reference implemntation, and in the short term, to fewer restrictions on the JRE.

      --dave

      --
      davecb@spamcop.net
    3. Re:Well I do declare! (as grandma said) by /ASCII · · Score: 2, Insightful

      Yes, but my argument is that the standard and an implementation of that standard are two completely separate things. They are using the argument that by opening up their reference implementation, the standard itself is opened, and that is just plain false.

      --
      Try out fish, the friendly interactive shell.
    4. Re:Well I do declare! (as grandma said) by JakusMinimus · · Score: 2, Insightful

      that is a smart distinction to make, but i feel comfortable in declaring that sun's position (for the now) is that they will have better long term control over the standard/spec by maintaining control over the reference implementation. it is also worth noting that the reference implemnentation is of very, very good quality.

      and no, im not a sun fanboi, but i am primarily a j2ee developer.

      --

      You can be an atheist and still not want to succumb to some weird cross-over sheep disease -- AC
    5. Re:Well I do declare! (as grandma said) by Bloke+down+the+pub · · Score: 1
      they will have better long term control over the standard/spec by maintaining control over the reference implementation.
      Huh? Open source doesn't mean anyone else can tinker with Sun's implementation. I'm assuming here that it would remain as the reference.

      Just like I can't fiddle with the code on Alan's or Linus's box. Submit changes, yes. Mung my own copy till my arms fall off, you betcha.

      --
      It's true I tell you, feller at work's next door neighbour read it in the paper.
    6. Re:Well I do declare! (as grandma said) by killjoe · · Score: 1

      MS already forked java twice. One is called j++ the other C#. Many people argue that C# is a better fork of java then java itself and if you look at how Sun has rushed to adopt many of the changes in c# they too seem to agree.

      I don't think MS cares about java anymore. It was a threat to them at one time, they took care ot it, it's not a threat to them anymore. If anything C# is a threat to java.

      --
      evil is as evil does
    7. Re:Well I do declare! (as grandma said) by metallic · · Score: 2, Informative

      The source code for Java 1.5 is available from Sun for free. . You just have to search around for it a bit.

      --
      Karma: Positive. Mostly effected by cowbell.
  16. Linux? by Anonymous Coward · · Score: 0

    " easier to bundle the JRE with Linux"
    does that mean they are going to put it in Linux? I wonder if it would be a LKM or compiled static. That would definatly increase performance!

  17. foster? by dghcasp · · Score: 3, Insightful

    ... advocates say [open-souring Java] would foster innovative open-source development.

    Because there are so few innovative open source java projects right now? Heck, I can hardly keep track.

    Leaving aside the politics of open source, and the "I can't play with your toys" argument, the main issue here seems to be the license incompatability that keeps Java from being bundled with the 267 different Linux distributions.

    If people want to be innovative, how about working to unify the basic functionality of all those distributions, specifically one common, simple way that works on all distributions and architectures to install 3rd party packages, like, say, Java?

    ObMetaDig: And besides, why do you care? Every time I see java on /., the whole thread seems to be "it's slow / no it isn't / GC sucks / no it doesn't / .NET rules / no it doesn't"

    1. Re:foster? by metallic · · Score: 2, Funny

      My development machine for J2EE work is a 2ghz machine with a gigabyte of RAM. Even with JBoss and IntelliJ IDEA running, I don't have any performance issues. This is obviously a troll.

      --
      Karma: Positive. Mostly effected by cowbell.
    2. Re:foster? by glesga_kiss · · Score: 2, Interesting
      I couldn't find the original Slashdot article or the current figures but the following is from Nov 2005:
      Java history was made today!

      Today Java overtook C++ as the language with most projects on SourceForge! Here is the current list for languages with more than 1000 projects:

      1. Java (16738 projects)
      2. C++ (16731 projects)
      3. C (15934 projects)
      4. PHP (12175 projects)
      5. Perl (6209 projects)
      6. Python (4542 projects)
  18. Can we get this stuff off the slashdot front page? by expro · · Score: 0, Troll

    Can we get this stuff off the slashdot front page until Sun decides to do something that will make any difference? It is probably so late in the game that nothing they do will.

  19. Run-time, not development tools by gvc · · Score: 2, Insightful

    I don't see how this is any different from tainted binary kernel drivers. They'll allow redistribution of the JRE run-time environment. Big deal.

    If they allowed redistribution of JDK compiler and libraries, we'd be making progress.

    Nothing to see here. Move along.

    1. Re:Run-time, not development tools by Anonymous Coward · · Score: 0

      I don't see how this is any different from tainted binary kernel drivers. They'll allow redistribution of the JRE run-time environment. Big deal.

      If they allowed redistribution of JDK compiler and libraries, we'd be making progress.


      You don't need the Sun JDK to write programs for the JRE. Heck, you don't even need to use the Java language; there are many projects that have leveraged the Java byte code to target any number of languages at the Java virtual machine.

      Being able to include an open source acceptable Sun JRE would be a big help, and nowhere near as controversial as binary drivers. I doubt it'll happen, though; distributions like Debian in particular more or less require complete open source freedom. However, being able to just distribute a repackaged version of Sun's JRE would mean Java could be pop up in non-free or something, instead of having to use java-package and a download from Sun's site, with all the clickety-click EULAs that involves.

  20. Re:whocares - Why is this interesting by Anonymous Coward · · Score: 0

    Just one troll asking another flamebaiting troll

  21. re-install a Linux box? by gall0ws · · Score: 2, Funny

    Uh?

    --
    | (ceci n'est pas une pipe)
  22. 64-bit? by escay · · Score: 4, Insightful

    well they could start with providing the mozilla-firefox java plugin for amd64 systems on linux...libjavaplugin.so, anyone?

  23. Re:whocares by $1uck · · Score: 0

    How did this get modded "Interesting" how about "Troll."
    If you really don't care, why are you posting here?
    Me thinks secretly you must care a lot.

  24. I'd Be Happy by Greyfox · · Score: 3, Interesting
    If they'd just fix some broke-ass things about the language. Seems like every time I run up against a limitation in the language, I find a bug open from 1998 complaining about the problem and either closed wontfix or "We'll fix that in a future release of java" and then they don't.

    Three recent thorns in my side:

    The Process object's destroy method sends a SIGINT or some such rot to the child process, which may or may not kill the child process. There's no way to send a SIGKILL, no way to get the PID of the process, no way to set the process group and no way to get or kill children of the child process.

    There's no way to get OS-Specific permission settings on a File. For that reason if you try to archive some files in Java using an InputStream that takes Files, you'll lose the permissions settings on them and the files will restored with something both generic and useless like 644. They make a halfhearted attempt to address this in 1.5, but it's still useless.

    It would appear that the only way to get disk space left on the volume is to open a file and start writing 1 byte at a time until you get an IO Exception.

    It's deficiencies like this (And the ~50MB VM overhead) that make Java a poor choice for system programming tasks, but the robustness of the language design itself could be so easily changed to address these issues. The fact that it hasn't and that all of these issues have been around for over half a decade lead me to believe that Sun isn't really serious about the language and probably shouldn't be in charge of the standard, either.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:I'd Be Happy by mwood · · Score: 1

      Not defining a standard library location into which the sysadmin can place locally-required libraries for his users to share is high on my list of jaw-dropping omissions. Having to maintain a 4KB CLASSPATH string for every application is not my idea of robust design.

    2. Re:I'd Be Happy by LarsWestergren · · Score: 4, Informative
      There's no way to get OS-Specific permission settings on a File. For that reason if you try to archive some files in Java using an InputStream that takes Files, you'll lose the permissions settings on them and the files will restored with something both generic and useless like 644. They make a halfhearted attempt to address this in 1.5, but it's still useless.

      It would appear that the only way to get disk space left on the volume is to open a file and start writing 1 byte at a time until you get an IO Exception.


      These two are finally fixed in Mustang. I agree it has taken long though:

          Three new methods have been added to java.io.File class:

                getFreeSpace()
                getUsableSpace()
                getTotalSpace()
      [...]

        Changing File Attributes:

        In Mustang the java.io.File API provides access to the file attributes for changing its readability, ability to write and ability to make it executable. Check out the following methods for playing around with file attributes:

        Changing readability: owner-only, owner or everybody
        Making it writable or read-only: owner-only, owner or everybody
        Making it executable or not executable: owner-only, owner or everybody

      --

      Being bitter is drinking poison and hoping someone else will die

    3. Re:I'd Be Happy by Anonymous Coward · · Score: 1, Insightful
      There's no way to get OS-Specific permission settings on a File. For that reason if you try to archive some files in Java using an InputStream that takes Files, you'll lose the permissions settings on them and the files will restored with something both generic and useless like 644. They make a halfhearted attempt to address this in 1.5, but it's still useless.

      It would appear that the only way to get disk space left on the volume is to open a file and start writing 1 byte at a time until you get an IO Exception.


      Might want to read up on Java 1.6 as I believe both of these issues have been solved.
    4. Re:I'd Be Happy by mark-t · · Score: 1
      Put jarfiles common to all users in in $JAVA_HOME/jre/lib/etc.

      Or put symlinks to common jarfiles in that location (my own preference).

    5. Re:I'd Be Happy by mwood · · Score: 1

      Thank you. 'twould be nice if this were documented somewhere or, if it is, had I been able to find it.

    6. Re:I'd Be Happy by mark-t · · Score: 2, Informative
      Actually, I just noticed a small typo in the line.... it should be Put jarfiles common to all users in in $JAVA_HOME/jre/lib/ext.

      I didn't realize I had typed etc instead of ext until I read your reply. My bad. Sorry.

    7. Re:I'd Be Happy by owlstead · · Score: 1

      A lot of these things are being addressed. There will also be better terminal handling and stuff. But the main thing about Java is that it should run on most platforms without modification. That said, if you want such a platform specific thing, there is nobody stopping you to do it yourself. Just use the "native" keyword and program it in a language that can create .dll's or .so files. Or just execute an executable and processing the output. This is not that hard to do, and quite alright, as long as you remember that it is platform specific. You might want to make it an optional part of your program though (if only to get it Java certified).

    8. Re:I'd Be Happy by mwood · · Score: 1

      Thanks. Hmmm, I followed a link and found http://java.sun.com/j2se/1.4.2/docs/guide/extensio ns/extensions.html which told me something I needed to know: they're now "optional packages" rather than "Standard Extensions". I didn't think that e.g. the PostgreSQL driver sounded like a Standard Extension. Sun has found a really obscure way of saying "add system libraries here".

      I'm still a little uneasy about the security implications of dropping something into jre/lib/ext but I'll study it some more.

    9. Re:I'd Be Happy by Greyfox · · Score: 1
      Am I imagining things or are there no getters for those permission attributes? You can set them but you can't get them?

      I know Java's supposed to be platform neutral but that shouldn't mean that I have to get stuck with the least common denominator even if I'm running on the most powerful OS around. It's been amply demonstrated that system specific operations can be handled in an abstract manner, so it's really annoying when they don't.

      I see they grudgingly put environment variable access back in Java 1.5 as well.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  25. Why is the modification required? by JPriest · · Score: 1
    Why does Sun have to open source the JRE in order to have it bundled?
    I don't remember seeing anything in the GPL that says it can't share disk space with non-GPL binaries.

    Is this what is meant by "choice"?

    --
    Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
    1. Re:Why is the modification required? by cduffy · · Score: 2, Informative

      They don't have to open source it. They need to stop requiring that it be downloaded directly from their servers and that the user view and affirmatively accept the license for every installation.

    2. Re:Why is the modification required? by DragonWriter · · Score: 2, Insightful

      From the Debian FAQ entries, it doesn't need to be open-sourced, but it does need a license which doesn't prevent it from being bundled with other software that replaces any function of JVM, which allows it to be distributed other than for the sole purpose of running an application or applet distributed with it, and doesn't require you to agree to indemnify and defend Sun from any lawsuits by the people you distribute it to, before it can be bundled. The GPL isn't an issue. Sun's license is the issue.

  26. Re:whocares by Anonymous Coward · · Score: 1, Insightful

    If you really don't care, why are you posting here? Me thinks secretly you must care a lot.

    Why do you care what he cares? Furthermore, how can you justify Java on Linux? Java isn't needed, it's not Free or open source, and compiling it is a pain in the ass. Why should Linux users use a proprietary language born out of a greedy corporation when there are better FOSS alternatives available?

  27. please no! by asv108 · · Score: 1

    One of the best traits about java is the fact that there is a wide variety of standardized core libraries that are consistant with the JRE version. Anytime I have to install a perl script I cringe at having to install a ton of random libraries through CPAN.

    1. Re:please no! by fireboy1919 · · Score: 1

      But...that's not true.

      ORM, RPC, IoC, and many other TLAs are only supported by third party stuff.

      And that stuff gets installed using Ant or Maven...which are very difficult to get working right with a package management system.

      Finally, the fact that Java packages are a lot more willing to change their APIs in minor versions than non-java packages are, and you have a portability crisis If you want to use two different java programs that use different versions of the same library, then you have to play monkey business with the classpath, as libraries don't link to specific jars.

      If there had been a good language package management system from the beginning (or had they gone with something standard like autoconf) then this wouldn't be an issue.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
  28. What about OpenBSD? by barbazoo · · Score: 2, Funny

    Installing Java on Linux is easy as pie. Try installing it on OpenBSD....

  29. Why not dual-license like OpenOffice.org? by benmhall · · Score: 2, Insightful

    I've never really understood why Sun doesn't just dual-license the Java VM and libraries like it does with OpenOffice. This would allow Linux distributions to include both the JDK and JRE and wouldn't preclude commercial developments. This wouldn't be that different from what Trolltech does with Qt. With Qt, this limits commercial KDE development, but Java already enjoys strong commercial support. If they GPL'd (not LGPL) the JDK, they would open doors to the Open Source community while still supporting their commercial contracts.

    I wouldn't think that forks would be a big problem either, as everyone would likely stick to Sun's JDK by default. I certainly haven't run into IBM's JVM very often and one needs to look no further than Mozilla, OpenOffice.org and Qt for evidence that dual-licensing doesn't necessarily lead to uncontrolled forks.

    The truly bizarre thing to me is that this hasn't already happened. It's not like Sun is trying to keep Java sources secret. They've already exposed them to the world with their fairly liberal research license.

    Mayber things will change. I'm reminded of Eric Sink's comment on Slashdot years ago regarding open sourcing OOo:

    "The only glimmer of hope has been Sun, which seems to have a practice of being smart during the even-numbered years and downright silly during the odd-numbered ones."

  30. Re:whocares by linvir · · Score: 1
    Read the fucking summary:
    It looks like the days of downloading Java every time you re-install a Linux box may be at an end
    You're the troll
  31. AKA Stuff All by Anonymous Coward · · Score: 0
    The article states, "She said the changes affect the Java Runtime Environment (JRE), the software that needs to be loaded on PCs for them to be able to run Java applications."

    Developers requires the JSE (Java Standard Environment, formerly J2SE) to build Java applications and the Server VM for better performance with long running and numerically intensive code (including best performance with games).

    Many Linux users and developers expect to be able to build applications and run them at optimum speed. This is like being able to distribute Linux so long as you don't distribute gcc.

    1. Re:AKA Stuff All by Anonymous Coward · · Score: 0

      Developers requires the JSE (Java Standard Environment, formerly J2SE) to build Java applications and the Server VM for better performance with long running and numerically intensive code (including best performance with games).

      LOL, there's Java games? What are they, like text adventures and stuff? Because Java sure as hell can't run 3D.

  32. Re:whocares by SirTalon42 · · Score: 1

    Hopefully you're not using OpenOffice or Firefox then.

  33. And now for the unbiased point of view by Anonymous Coward · · Score: 1

    If that's his plan, I'd expect to end up with something like Mac OS: easy to use, but no freedom to modify or redistribute. Except that apparently it's not going well for them, because Slackware is known for being *hard* to use. Sounds like the worst of both worlds, to me.

    In the meantime, Debian/Ubuntu (and others) have been pushing free software, which we're both free to distribute and free to improve. So we have image viewers that are far better that xv, and (though I no longer program in Java or .NET) I fully expect Mono to be the superior development environment. Because it's open-source (and has been for a while), there are all kinds of bindings, which mean people actually use it.

    For example, the GNOME project is also about making things that "just work", and there are lots of projects for GNOME apps that use Mono. I don't know any Java GNOME projects. This is a release of desperation for Sun.

  34. Re:whocares by $1uck · · Score: 1

    I read the summary, I also read your message if you truly don't care why are you still reading the thread? I mean if you read the summary and don't care why post? But if you want an answer to your question, I guess the people who care are the ones posting.
    Me thinks you care even more now.

  35. Who cares about seeing the source code? by Just+Some+Guy · · Score: 0
    The company has resisted formally open-sourcing all of the Java software, but it has dramatically changed the development process around Java and changed licenses to make it easier to see Java source code.

    Who cares? I can see the Windows source code if I sign the right NDAs. That's doesn't mean that I can actually do anything with it, though.

    --
    Dewey, what part of this looks like authorities should be involved?
  36. Re:whocares by Anonymous Coward · · Score: 0

    OpenOffice is probably the only Java-dependent app. that I actually use, and you can get away with not installing Java for it. Really, Java is not a necessity, anymore than Flash is. It is moderately useful for developing server software, but on the client side it is big, bloated, slow, and worthless in a *nix environment where C/C++ code can be compiled on the target system with few worries. It might have some use on Windows, but even that is so-so with .NET out there (and, as sorry as I am to admit it, .NET is faster than Java). Unless Sun comes up with something completely amazing, Java will remain relegated to servers and cell phones.

  37. RPM by dereference · · Score: 2, Informative
    This is what bothers me most about RPM. If RPM didn't install it, then it doesn't exist.

    This must be your lucky day. Sun has an RPM package for download; the self-installer generates the .rpm file.

    1. Re:RPM by CastrTroy · · Score: 1

      I wasn't specifically talking about Java, moreso about RPM in general

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  38. Re:whocares by linvir · · Score: 1
    Okay, judging by your inability to punctuate properly, your use of the phrase "me thinks" and your inability to digest a simple point, you're not the sharpest tool in the box. So here's an explanation you might understand.

    Summary implies that Java is important, and that bundling it will benefit me:

    It looks like the days of downloading Java every time you re-install a Linux box may be at an end.
    I say that I don't find the issue cited in the summary to be a problem:
    I've never installed Java on a Linux box... ...never come across the need to.
    and hint that I'd like to know why it is:
    I'm open to being convinced that it's useful
    Moron comes along and focuses entirely on the title of my post, simultaneously missing its meaning completely:
    If you really don't care, why are you posting here? Me thinks secretly you must care a lot.
    I post a final explanation to hopefully shut said moron up (this bit is new!):
    It's pretty fucking obvious that I'm interested in Java's usefulness, so stop pretending that I said I'm not. What I don't care about is the main story, the license change, as in this part "Reports are trickling in that Sun plans to alter the Java license "
  39. Well, excuse me! by Anonymous Coward · · Score: 0

    ... but it's real hard to get good speed with your foot caught in this damned Java trap!

  40. Like Maven or like JPackage.org? by mikaelhg · · Score: 1

    I wish all these Java libraries worked like the way CPAN does.

    Do you mean you wish Java libraries worked like CPAN, in the way Maven and its automatic library repository works or in the way the JPackage repository works?

    1. Re:Like Maven or like JPackage.org? by Arandir · · Score: 1

      No, he means it should work like CPAN does! Didn't you even read his post?

      With Perl, or Python, or C/C++, or virtually everything else besides Java (and .net), all you need is the language. You don't need a gargantuan mandatory library, just a tiny standard library, or sometimes none at all. Java has nice no-nonsense semantics, but it is unfortunately bogged down by a monstrosity of a runtime.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    2. Re:Like Maven or like JPackage.org? by mikaelhg · · Score: 1

      With Perl, or Python, or C/C++, or virtually everything else besides Java (and .net), all you need is the language. You don't need a gargantuan mandatory library, just a tiny standard library, or sometimes none at all. Java has nice no-nonsense semantics, but it is unfortunately bogged down by a monstrosity of a runtime.

      I'm sorry, I thought that it was obvious that modern business software development solutions solve a superset of business problems compared to the early professional solutions such as Prolog/Pascal/C/C++ and later hobbyist solutions such as Python, and that it's pretty useless to try to turn the clock backwards.

    3. Re:Like Maven or like JPackage.org? by Arandir · · Score: 1

      Why do you think "modern business software development solutions" is the only kind of software out there?

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  41. This is already done by houghi · · Score: 1

    Several distributions already have Java bundled. SUSE has it on the boxed set. If you do not have the boxed set, it is very easy to add as an installation source.

    10.1 will have it on the DVD as well as on a seperate CD, where also other non-OSS stuff is, like Opera and Realplayer.

    http://en.opensuse.org/Media_layout

    Not being OSS does not mean it is not distributable. Oh and 10.1 will be out May 11th.

    --
    Don't fight for your country, if your country does not fight for you.
    1. Re:This is already done by Jussi+K.+Kojootti · · Score: 1

      Oh, sure it's distributable... if you're not interested in what the license says. Then again, what do I know: maybe Suse really does refrain from distributing all other software that might replace any function of the Java VM.

    2. Re:This is already done by houghi · · Score: 1

      SUSE places all the stuff that needs JAVA on a seperate CD, together with JAVA, so that people who care to have a full OSS distro can have such and won't be botherd by installing programs that then nag about the need for java.

      So with SUSE the choice to have a full OSS or a partial OSS.

      This causes e.g. pine and pico to be moved there as well, as they are not 100% OSS.

      The article however implied that distributing JAVA is not possible and that JAVA needs to be downloaded each time. Both is wrong.

      The fact is that JAVA is not OSS and that is true. This has however nothing to do with wether or not it can be included in a distribution. The limiting factor is the policy of the distribution (and that is their full right) not the policy of Java.

      --
      Don't fight for your country, if your country does not fight for you.
    3. Re:This is already done by Jussi+K.+Kojootti · · Score: 1

      It's not about OSS or not OSS, it's about license incompatibilities. The Sun Java license _is_ unclear, but my interpretation is that it would still be against the license terms for Suse to distribute any other Java VMs (regardless of how they split their distribution on CDs)...

  42. yeah, but but what would RMS say? by porky_pig_jr · · Score: 1

    probably something like "This license sux shite."

    1. Re:yeah, but but what would RMS say? by Anonymous Coward · · Score: 0

      That depends on what the license says. You may not like RMS, but he tries to be consistent in his way. He has said that some of Microsoft's open source licenses were acceptable.

      However, given Sun's deceptive history, most likely, the license really will be shitty.

  43. Non issue? by Espectr0 · · Score: 2, Interesting

    Slackware has bundled java for years. Why didn't anyone else? Is/was it illegal?

  44. So what's Sun's angle here? by aCapitalist · · Score: 2, Interesting

    It's nice that they've made this move, but I don't see how this really changes much. The server side guys never had a problem with downloading Java. I can only assume that this is a move for the desktop.

    The problem (as I see it), is that it's too late for any kind of java desktop resurgence. How come Sun never produced any kind of Java Gnome/Gtk+ apps? They do employee Gnome contributors and Gnome is their desktop. Oh right....Swing is enough for everyone,*rollseyes*. Maybe four years ago if they had gotten behind Java gtk+, and made this move things would be different, but much of the open source desktop developers have moved on to Ruby, Python, and Mono. And there's still a lot of development done in C/C++. Even on the server side, many people are moving to LAMP+Ruby.

    So my question is what is Sun's reasoning for doing it now?

  45. Hard..Suse by Anonymous Coward · · Score: 0

    Suse addressed this with the Nvidia drivers. A small executable that fetched the main driver and installed it. Windows has also been doing the same for years. Ideology is never the issue. Giving your users the choice is.

  46. Re:This is like the US Forest Service... by Anonymous Coward · · Score: 0

    Summary: "Big Woop"

  47. Why is hypocrisy required? by Anonymous Coward · · Score: 0

    "They don't have to open source it. They need to stop requiring that it be downloaded directly from their servers and that the user view and affirmatively accept the license for every installation."

    Hehe. That's funny. I've downloaded GPL software for Windows, and I had to agree to the GPL before installation.

    BTW Look up "Java Web Start".

    1. Re:Why is hypocrisy required? by cduffy · · Score: 2, Informative

      I've downloaded GPL software for Windows, and I had to agree to the GPL before installation.

      The GPL doesn't require that; the developer of that installer did.

  48. You mean... by hummassa · · Score: 0, Flamebait
    That being said, I agree that having the option of installing a real sun JRE/JDK with apt-get or rpm WITHOUT dropping to the command line or hacking configuration would be a BIG bonus and widen the audience beyond CS students and linux gurus.


    like, say, K-MENU [click] System [click] Adept [click] [wait half a second] [type password] [enter] [wait 5 seconds] hmmm... [click on search box] j2 [wait a second] [click on j2re entry on the grid] Install package [click] Apply changes [click] [wait 30 seconds] ???

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  49. Re:whocares by owlstead · · Score: 1

    Users never care about languages. They care about applications that make a computer a usefull asset. Currently, I am in the (slow) process of writing an open source Java binary newsreader. Maybe you would care about that. Azureus, the popular bittorrent client is written in Java. Maybe you need that. And maybe you would want to install an application server to serve a nice Java application, although the PHP market seems to be bigger than the Java market for such applications for now.

    Java is used a *lot* by enterprise customers to write very stable systems, with a web-front end or without. Linux is still used a lot as an enterprise system. Easier, or default installs would certainly help a lot. Currently, even if there is Java installed, the version is too old most of the time in my experience.

  50. Re:This is like the US Forest Service... by glesga_kiss · · Score: 1
    It's overdesigned and inconsistent.

    There's hardly any inconsistencies on that page. The only ones that are inconsistencies are simply methods in the JRE that don't follow the string case conventions. Wow. People still type method names (and not code-completion)? ;-)

    The rest of the things are simply "gotchas" (the title of the page) that might catch you out coming from another language. And most of them are desirable, just confusing if you're a newbie to the language.

    And the "over-design" is what makes it very very secure. When was the last time you heard of a buffer-overrun hack in a java app? That's one of the main aims of the JRE.

  51. if only it were true by penguin-collective · · Score: 1

    Sun provides an open spec (actually multiple specs).

    Sun's specs are not open: you view them under license (the fact that you easily miss that fact makes it worse), and Sun has patents on some key Java implementation related technologies.

    There are open source implementations of the spec.

    That's wrong, too. According to Sun, only Sun can determine who has implemented the specs, and Sun has not certified any of the open source implementations as implementing the specs. So, therefore, there is no open source implementation of the entire J2SE spec.

    Right now, it is likely that Sun would have an excellent case shutting down any reasonably complete open source attempt at a Java implementation if they wanted to, simply through their licensing requirements and their patent portfolio.

    As a practical matter, the open source implementations simply don't work well enough to be a drop-in replacement for any recent Sun J2SE or J2EE implementation, in part because the specs are so poorly written that Sun's implementation defines the standard, not the spec.

    We want multiple competing implementations, both open and proprietary.

    We do. Unfortunately, Sun effectively killed all the competing commercial implementations, and there are no full open source implementations of the Java platform.

    Open source Java is to Sun Java roughly like Wine is to Microsoft Windows: it will never be a solution you can rely on, both for legal reasons and for technical reasons.

  52. Keep it in the package manager by Anonymous Coward · · Score: 0

    For those of us running Linux or *BSD systems, having the package manager actually, um, manage packages is a major win. And every last damned exception to the rule is one that an admin should make very, very, very grudgingly.

    Why? Let me count the ways:

    1. It's a package you have to remember to update.
    2. It's a package you have to remember (and initially discover) the source of.
    3. It's a package you have to remember the installation and update procedures for.
    4. It's a pacage your package manager isn't automatically tracking updates and security issues for.
    5. It's a package on which you're relying on some idiot third-party package installer developer to write an install routine that 1). works, 2). doesn't suck, 3). doesn't break things, and 4). accomodates the preferred local SOP for managing third-party software. Not to mention 5). all the other issues that third-party installers present. There was a great interview a couple years ago on Sourceforge between Roblimo and an Installshield droid pimping his tools for Linux. To a one, the comments read "keep your crap full-screen interactive installer off my Linux box". Either private email or public followup from Roblimo explained that his style was to just let the guy talk and let the article speak for itself, comments included.
    6. Third party installers very nearly always suck. Sun's, last I checked, was a self-extracting shell archive of some description, in an encoded form that basically meant you couldn't readilly even performa a cursory scan of the installer script to see what the hell it was doing. I run shit like that only under extreme duress, and not at all if possible. Sun's not alone in this. Oracle's Java-based Linux installers sucked (and possibly still do, haven't touched 'em since 2000). IBM's DB2 Linux installer sucked. SAS's installers sucked. Oddly enough, you'll find little or none of such software on my systems, in large part because the functionality is available in DFSG / OSI Open Source / FSF Free Software licensed, managed, packages. Go figure.
    7. Third party installers very nearly always have one or more noninteractive components. Meaning that automated, unattended updates and installs require either script thuggery or are impossible. Chalk up another strike against maintainability.
    8. Uninstallation, removal, and cleanup are often afterthoughts if addressed at all. The first rule of sorcerers apprenticeship is: learn how to make it stop, turn it off, and/or get rid of it, before you start.
    9. Systems which don't offer centrally managed, policy-driven, trusted package management are both security and management problems waiting to happen. This is one of the major disadvantages of Microsoft's platforms, and is among the concerns I've got running Apple's Mac OS X. More discussion of this in an spyware and adware, touching on culture and philosophy.

    All these are reasons why on a typical Debian box of mine, with 1500 - 2500 packages installed, the third-party (let alone proprietary) packages are virtually always limited to a mere handful, often of the Skil Saw variety (short a few fingers).

    The interactions between licensing, community, package management, trust, security, and maintainability are deep, difficult to grok, and profound. But they matter very significantly, and a number of us are very much aware both of this fact and for the reasons why.

    All that said: I have installed Sun's Java packages. Each time I have to look up the currently preferred system, track down the correct download files on Sun's site (no mean feat of itself), download, unpack, assess scripts and READMEs, try to figure out where the damned thing will go, and whether or not I can get rid of it. Then I try to run the installer and pray I haven't just shot myself in the foot.

    By contrast, managed software is a matter of: search for it (apt-cache search), view th

  53. nothing bizarre about it by penguin-collective · · Score: 1

    If they license Java under the GPL, they have to decide: can you run non-GPL'ed software on top of it or not. If you can't, then it's a pointless exercise. If you can, then what happened with XFree86/X.org will likely happen: development will be taken over by a body that's better at that sort of thing than Sun.

    Sun is terribly afraid of that. Why? Because Java is the only thing they're doing that makes them relevant and noticeable at all; as soon as they lose their grip on Java, they'll just be forgotten and disappear.

  54. Re:This is like the US Forest Service... by Lord+Agni · · Score: 1

    Or a buffer overrun in Python, Ruby, Scheme, Smalltalk, Haskell, etc. It's overdesigned because you need to wrap a DataInputStream in a BufferedInputStream in a FileInputStream in a Riddle in a Mystery in an Enigma to open a file. Did I get the order wrong? Well, I'll just have to go look it up. Like I have to look up everything in Java. Want to output a float or double rounded to 3 decimal places? Easy, just instantiate a DecimalFormat class. Now where does that live? I don't know, I can just look it up. How did I know that I needed a DecimalFormat object? I googled it. See how simple Java is? It's not overdesigned at all! All I need is a multi-hundred megabyte IDE to handle code completions for me, and the Mother Of All Drive Arrays and a payroll full of geniuses for me to discover how to do in Java what I can do in Python or C with %.3f.

  55. Not at all like those, not even close. by Anonymous Coward · · Score: 0

    Probably more in how all the worlds (coding?) problems are already solved in CPAN - the repository is HUGE and of very high class. That's why CPAN is so important, and why so many I know still use Perl for almost anything. The language itself is nice and doesn't deserve the uninformed masses crtitique - but it isn't THAT special. CPAN is.

  56. Re:whocares by $1uck · · Score: 1

    Wow, you seem a bit upset. Why are you so upset if you don't care? Why post if you don't care?
    What I don't care about is the main story,
    Why post here? If you're really trying to find out how this may benefit you, instead of using the incendiary "Who cares" maybe it would be better to ask "How will this benefit me?"
    "Who cares" is pretty dismissive sounding and titling your post that way is going to set the tone of your entire message and make a reader think that you're not really "open to being convinced" of anything.

    Me thinks you, take yourself way to seriously.

    I'll wait for you to tell me you don't care what I think.

    Have a day.

    P.S. It hurt my feelings when you called me a moron.

  57. Re:This is like the US Forest Service... by Anonymous Coward · · Score: 0

    Summary: programming is hard, mkay.

  58. Day late and dollar short... by Kazoo+the+Clown · · Score: 1

    This solves a nonexistent problem as far as I'm concerned. I've been installing Linux systems for about 15 years and I've *never* installed Java on one. Also, never found anything that didn't work because of it. I've yet to find a reason to even *notice* it wasn't installed until this article.

    The Java "killer app" never materialized. Just like .NET-- it's trying to solve a problem that users just don't have.

    1. Re:Day late and dollar short... by aztracker1 · · Score: 1

      The number one reason is emphatically not for end user applications, but internal/private applications... Most applications that are designed in and around Java and .Net are for internal/private use. Many large companies use one, the other or both in order to create usable applications relatively quickly. Performance isn't the utmost of importance, working is.. and both .net and java as platforms lend themselves to this...

      By being interpreted languages, they can be used for small/local applications that may need to run on various systems, and simply work... without the worry of memory issues, or working with a UI kit that doesn't have a good development path, documentation, or support for that matter...

      I like .Net myself, and like Java as well.. on the web side, I prefer asp.net for standalone apps, it's a toss up (depending on what you want to do specifically, Java lends itself better to some things, .Net to others).

      --
      Michael J. Ryan - tracker1.info
    2. Re:Day late and dollar short... by angrykeyboarder · · Score: 1

      Well if you want to visit a website that utilizes Java, you need Java.
      If you want to install and run Java based applications (in my case Azureus and Jedit) you need Java.
      I guess some people need Java and some don't.....

      --
      Scott

      ©20014 angrykeyboarder & Elmer Fudd. All Wights Wesewved
  59. Better idea? by ajs318 · · Score: 1

    Sun's problem is that they don't want something that isn't Java to take the place of Java. I think I have the solution and it works using existing laws.

    All Sun have to do is register the Java name as a trademark. There are already established regulations covering the use of trademarks. Sun could licence the trademark subject to any conditions they liked, so all they have to do is impose the condition that the Java name can only be used to refer to software products that pass a suite of tests specified by Sun. The software could then be released under the GPL. The GPL is a copyright licence only, it says nothing about trademarks. Clause 7 makes the distributor responsible for ensuring compliance with other IP considerations.

    If someone, i.e. Microsoft, implement an extended but incompatible "Java", they won't be allowed to call it Java. And without the recognised Java brand name, it will be all but worthless.

    --
    Je fume. Tu fumes. Nous fûmes!
  60. Re:This is like the US Forest Service... by glesga_kiss · · Score: 1
    It's overdesigned because you need to wrap a DataInputStream in a BufferedInputStream in a FileInputStream in a Riddle in a Mystery in an Enigma to open a file.

    As the AC said, programming is hard. Sure, some languages offer nice syntax to let you easilly read/write files. Sweet. Now couple that to any random third-party IO API, for example reading the same data over a PPP serial link. Oh, things get a little harder. By having common base stream classes, Java makes joining the dots up really easy. We don't care on the input/output format, we just deal with the datastream. And if you are programming like you are supposed to be doing (writing reusable generic code), Java is perfect for this. Someone could come along in twenty years time and create an AvianDataStream class and provided it uses the same abstract base classes, it'll work with everything else that's being written today.

    Want to output a float or double rounded to 3 decimal places? Easy, just instantiate a DecimalFormat class. Now where does that live? I don't know, I can just look it up.

    Look it up? You are using a strongly-typed language; get a decent IDE. Type "DecimalFo" and press ctrl-space in Eclipse. Automatically completes the name and imports the class. Any ambiguity, you get a popup box that also shows you the Javadoc for it. And unlike many other languages, you can browse/debug inside the base classes. "Looking up things" is one of the things I think it's good at.

    and a payroll full of geniuses for me to discover how to do in Java what I can do in Python or C with %.3f.

    And when those Python hackers leave, you lose the IP and local knowledge on whatever libraries/plugins were currently in vogue. Your current staff have to try and reverse engineer all sorts of clever tricks that they aren't familiar with. With Java, it's all standard. That's the point in the "over design". C on the other hand is really different market (java on the desktop is pretty much a non-event, whereas C dominates). Comparisons between C and Java are pointless; Java belongs with PHP/Python etc in the web-service sector.

    These things just piss of novices, but if you know what you are doing, they are extremely useful and most importantly help you write good, maintainable code.

  61. What about inferno? by Reverend528 · · Score: 1

    It's also unlikely that we'll see a copy of inferno shipping with java either. Although, Infernal Coffee comes pretty close.

  62. Ubuntu Wiki: Restricted formats by aliquis · · Score: 1