Slashdot Mirror


Oracle's Latest Java Moves Draw Industry Ire

snydeq writes "Two years later, Oracle's stewardship of Java continues to raise user and vendor ire, this time due to modularization, licensing, and security concerns. 'Plans for version 8 of Java Platform Standard Edition, which is due next year, call for inclusion of Project Jigsaw to add modular capabilities to Java. But some organizations are concerned with how Oracle's plans might conflict with the OSGi module system already geared to Java. In the licensing arena, Canonical, the maker of Ubuntu Linux, says Oracle is no longer letting Linux distributors redistribute Oracle's own commercial Java, causing difficulties for the company. Meanwhile, security vendor F-Secure views Java as security hindrance.'"

73 of 372 comments (clear)

  1. Oracle and Java by ravenswood1000 · · Score: 5, Insightful

    With Oracle responsible for Java, is it even worth it to learn the language any more? I mean they will be killing it off soon.

    1. Re:Oracle and Java by Foxhoundz · · Score: 4, Insightful

      Not a chance. Java has changed the face of mobile computing within the past decade. Why would oracle shoot themselves in the foot?

    2. Re:Oracle and Java by silanea · · Score: 3, Interesting

      Is Oracle a mobile computing company? I don't think so. By killing Java they would shoot a whole industry in the foot - or the head, more likely. But Oracle itself? No. They could still develop the Java platform in-house for their own products - at least that is my understanding of what they bought in the Sun acquisition - and leave everyone else out in the rain.

      --
      Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
    3. Re:Oracle and Java by Anonymous Coward · · Score: 4, Insightful

      And if oracle keeps up, Android 5 or 6 will ship with a shiny python-esque runtime when google gets tired of paying for java lawsuits, leaving java on "feature" phones nobody writes apps for.

    4. Re:Oracle and Java by rk · · Score: 2

      I have felt for years that Java is our generation's COBOL, and with Oracle in control I feel that only makes that comparison stronger.

    5. Re:Oracle and Java by binarylarry · · Score: 2

      Actually WORA works pretty damn well with Java.

      --
      Mod me down, my New Earth Global Warmingist friends!
    6. Re:Oracle and Java by characterZer0 · · Score: 4, Insightful

      "Write once, curse (and debug) everywhere."

      That is still better than write everywhere, curse (and debug) everywhere.

      --
      Go green: turn off your refrigerator.
    7. Re:Oracle and Java by Zomg · · Score: 2

      Yes. With 5 years of java experience I make 100k and see nothing but growth. It is comments like this and this thread as a whole that really drill home how ignorant some people are about java.

    8. Re:Oracle and Java by medv4380 · · Score: 2
      Depends. Oracle has Java so it won't lose it as a language as an interface tool for its database system. If you intend on eventually doing work using an oracle database it might be good to know, but I'm sure it's not required. Outside of Oracles little world might be what's at risk. If Apache and IBM finally finds something else that they are willing to work with more then Java is dead.

      Honestly, Programming in general needs a game changer anyways. Multicore chips have been around for a while now, and I have yet to see any single application reasonably use more then 2 cores and most still only use 1. I've looked into this a bit, and most of the API's out there that work to use all available cores only work when you have massive datasets. Even attempting to use more then 1 core results in the application slowing down to less than 1 core to keep up with synchronization costs.

      When someone finally comes up with an API, or a Language that works well with multicore chips then learn that. Until then we are all in limbo with what we already have so what Oracle does won't matter much.

    9. Re:Oracle and Java by Xtifr · · Score: 5, Insightful

      Why do companies shoot themselves in their feet? I don't know, but companies do it all the time. Oracle has always been remarkably short-sighted and unable to see the bigger picture.

      On the other hand, the fact that there is a an officially GPL'd version of official Java out there may well mean that in the long term, Java will be fine. Oracle can kill off their own branch, but Java in some form is probably going to continue, because it's too entrenched. There are some big players on the sidelines (e.g. IBM) with a lot invested in Java who aren't going to sit idly by and let Oracle destroy it when Sun made it easy to go another route. OpenJDK may have a few shortcomings at the moment, but that could easily change if some bigger players got more serious about it.

      It's still too early to tell how this is all going to play out, but the death of Java seems like one of the least likely outcomes.

    10. Re:Oracle and Java by Ossifer · · Score: 5, Insightful

      1. Most applications have base requirements for runtime (C libs, etc., for example)
      2. HotSpot yields native code
      3. Sure it does--better than any other generic language in its core, but it also provides JNI for anything else you feel you need outside of its core.
      4. OSX WFM.
      5. Red herring. See #2, also for truly intensive functions, use assembler.

    11. Re:Oracle and Java by DamonHD · · Score: 4, Informative

      My main Java app is right now running distributed across at least 3 major *nix variants (and Windows should I want to again) and indeed CPU families (x86/x64, ARM and SPARC) with no extra dev or debugging pain, and contains components dating back to about Netscape 2.0 time running without problem. Say what you like but WORA works very well indeed for me with Java.

      A .Net app that I have been working on in a team for well over a year runs very well across exactly one release of Windows and .Net and Direct X, just about. And debugging pain: don't get me started.

      Rgds

      Damon

      --
      http://m.earth.org.uk/
    12. Re:Oracle and Java by gweihir · · Score: 4, Interesting

      I don't think it was. And it is certainly unsuitable as a first programming language. It is not close enough to the machine for many tasks, yet not abstracted enough for many others. It also does not teach concept cleanly enough that there would be a large benefit for learning other languages later.

      Sadly, academia does not seem to realize that and it is taught as first (and sometimes only) language in many places. Just had to tech C to a bunch of college students last semester because you cannot teach an OS course with Java.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    13. Re:Oracle and Java by Anonymous Coward · · Score: 3, Interesting

      I work almost exclusively in COBOL and make 160k a year 28 years old (switched to COBOL 3 years ago). I see nothing but old people retiring or dieing and demand increasing.

    14. Re:Oracle and Java by gweihir · · Score: 2

      That is about the most stupid thing they could have done. Eiffel, Python, Ruby all modern alternatives well suited for teaching and learning concepts. Java is not.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    15. Re:Oracle and Java by Cro+Magnon · · Score: 3, Funny

      If Oracle had been in charge of COBOL, businesses would have used RPG.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    16. Re:Oracle and Java by VGPowerlord · · Score: 3, Insightful

      The GPLed branch will only act as a safety net if it's kept up to date with features introduced in the dominant branch (Oracles), or if it becomes the dominant branch in the very near future and removes Oracles ownership over the future.

      Oracle's version is just a repackaged version of OpenJDK, so that shouldn't be a problem.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    17. Re:Oracle and Java by Gr8Apes · · Score: 2

      90% of the time you're right, but there are a few bugs in the JVM with regard to Windows vs Linux filesystems that will bite you the first time you see them.

      I've also run into issues with Windows-only memory leaks in the JAI libraries when using JPEG-compressed TIFFs.

      You're right that it's generally fine.

      Other than windows issues, which very well might be windows bugs, it really is WORA.

      --
      The cesspool just got a check and balance.
    18. Re:Oracle and Java by Miamicanes · · Score: 4, Informative

      99 times out of 100, when a user has problems running a Java app, it's because somebody specified an inappropriate version of Java in the manifest. There's an entire subtle range of possible values that have meanings like "The newest installed VM that's Java $N or newer", "The newest installed VM that's Java $N", "The newest installed VM that's at least Java $N.$V", and so on. The problems come about when some idiot doesn't know what he's doing, has an application that only NEEDS Java 4, then turns around and specifies in the manifest that it MUST run under Java 4, instead of "Java 4 or newer", so somebody who has Java 6, release 28 installed has to try and literally install a Java 4 VM to run it. It gets even worse with applets, because Sun's official docs totally borked the explanation of how CLSID values worked, and caused ENDLESS grief when some corporate apps decided to dictate specific releases of Java for no good reason.

      The fact is, if you write a Java application and Jar it up in a way that says only that it must have a VM that's at least as old as some minimum version, the likelihood of users having real-world problems with it are pretty low. I have stuff I wrote 10+ years ago and compiled with a pre-alpha 1.4 JDK that still works today (which is a good thing, because the source code was lost when my old laptop died). I've seen corporate apps that anal-retentively specify that they must not be used with any JDK besides 2.6.0_19, then go a step beyond and die if you have a newer JDK even installed at all, because they're launched by webapps that use the CLSID that means "ignore the settings in the JPI control panel, always use the newest version installed", then turn around and use Javascript to test for JPI version & commit suicide if it's older than 2.6.0_19 (even if you have 2.6.0_19 installed, and bent over backwards to specify that precise JDK in the control panel). I've actually had to use Greasemonkey in some cases to dynamically fix the stupid CLSID embedded in the Object definition on the fly so it wouldn't ignore my JPI control panel settings. But don't get me started on that... grrrrrrr...

      Of course, we've all had our "ohcrap" moments. I remember spending a week working on what was supposed to be a cross-platform videochat application written in Java (so it could run under Windows, Mac, and Linux) using JMF. It worked nicely under Windows. Then I went to test it under Linux, and discovered that JMF was basically broken to the point of uselessness under everything besides Windows due to codec licensing & implementation issues. That was when I learned the hard way that anytime you're explicitly writing something that HAS to work on a platform besides Windows, make sure it doesn't have "issues" with other platforms before investing lots of time in it... especially if it depends upon any extension or framework that's not a native part of bog-standard Java that gets installed by default. Especially anything based upon a JSR. I've lost count of the number of JSR-related extensions that were nothing but stubs & almost inevitably had Macintosh problems.

      IMHO, Sun fucked up, and fucked up badly, when they handed over control of Macintosh Java to Apple. Jonathan Schwarz basically handed Steve Jobs the rope, and was too oblivious to notice Steve busily tying it into a noose. Java's main reason for existing as a platform for desktop applications is WORA, and allowing Apple to screw up Macintosh Java as badly as they did hurt that main purpose really badly.

    19. Re:Oracle and Java by Anonymous Coward · · Score: 5, Insightful

      2. Oracle thinks that Java is not open, and they also have damning email correspondence showing that Google did not actually believe Java could be used without a license.

      You mean the damning email that came out in August 2010 saying from engineer Tim Lindholm to Andy Rubin that said we need to license java?
      (http://newsandinsight.thomsonreuters.com/Legal/News/2011/11_-_November/Oracle_v__Google_and_the_most_relentlessly_litigated_email_ever/)
      Remember that Oracle purchased Sun in 2009 (http://en.wikipedia.org/wiki/Sun_Microsystems) where Android was first released in 2008 (http://en.wikipedia.org/wiki/Android_(operating_system))

      Putting together a timeline:
      1) Android released in 2008
      2) Oracle purchased Sun in 2009
      3) "Damning" email in 2010

      So after Android is released, Oracle purchases Sun hoping to sue Google for $$$, then an engineer says yeah we better license java. That isn't damning, that's an opinion of one engineer (or more likely a team). Now if that timeline had #3 coming first, it would be damning, but to come last in the chain is hardly even worth mentioning. Oracle's case resting on that one email is laughable at best

    20. Re:Oracle and Java by thetoadwarrior · · Score: 2

      And I'm sure businesses had some influence in that area demanding more Java developers because Java is a nice safe language that can practically write itself. Hell starting certain things in a IDE yields most of your app written for you. Skynet is probably Java. That is why the original judgement day didn't happen. No one factored in the start-up time.

    21. Re:Oracle and Java by mvar · · Score: 2

      Why do companies shoot themselves in their feet? I don't know, but companies do it all the time.

      We should probably just ask HP

    22. Re:Oracle and Java by thetoadwarrior · · Score: 2

      .Net is just Java if MS created it. Sure it's more modern but it's Windows-centric and aimed at the same exact market as Java. I'll be surprised if it lives as long as Java.

    23. Re:Oracle and Java by ColdWetDog · · Score: 4, Informative

      Hell, I can't program past visual basic and I make more than either of you!

      So there.

      --
      Faster! Faster! Faster would be better!
    24. Re:Oracle and Java by Anonymous Coward · · Score: 2, Insightful

      There's lots to criticise Oracle for... but Canonical's complaints are laughable (as is much of their work TBH... not to mention their moronic loud-mouthed userbase).

      OpenJDK is now the *official* version of Java. It's now a legitimate part of stuff like Fedora - a full, open, legal distribution of Java. Oracle's move in this case was entirely right and constructive for all involved.

      This has been discussed over and over again by various people involved - and yet we still here this bullshit.

    25. Re:Oracle and Java by PCM2 · · Score: 4, Interesting

      IMHO, Sun fucked up, and fucked up badly, when they handed over control of Macintosh Java to Apple. Jonathan Schwarz basically handed Steve Jobs the rope, and was too oblivious to notice Steve busily tying it into a noose. Java's main reason for existing as a platform for desktop applications is WORA, and allowing Apple to screw up Macintosh Java as badly as they did hurt that main purpose really badly.

      To be fair, at the time Apple execs were crowing that Mac OS was going to be the premier platform for Java development in the world. They were hinting pretty strongly that they were going to tie Java into every possible aspect of the OS to wring every possible ounce of performance and system integration out of it, so it only made sense that Apple engineers, who had insider knowledge of the Mac OS platform, should be in charge. I suppose we have nobody to blame but Sun, but nobody could have known Apple would drop the ball so badly. (And BTW, it was Scott McNealy who let Apple be responsible for Mac Java, not Schwartz.)

      --
      Breakfast served all day!
    26. Re:Oracle and Java by postbigbang · · Score: 2

      There is the reality of how Sun licensed Java, and how Oracle interprets it. Oracle is not about making friends, they're about making revenue, and piles of it.

      Their battle with Google is just one front, and just the first wave of litigation if they're successful. There's a big piece of pie out there, and Oracle want's their slice.

      --
      ---- Teach Peace. It's Cheaper Than War.
    27. Re:Oracle and Java by viperidaenz · · Score: 2

      You do realise java runs on just about every smart card around today don't you? I've got two java interpreters in my wallet. Its not just phones, desktops and servers that java runs on. Java has also been in Oracles database since not long after it was invented. If one of their database competitors - IBM and Microsoft - bought Sun they could have be in trouble.

    28. Re:Oracle and Java by dgatwood · · Score: 2

      Have you looked into GCD?

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    29. Re:Oracle and Java by Warren416 · · Score: 2

      I don't like Java or C++ and Qt, but I recognize that me not liking them doesn't make either one less important or relevant in the software industry. I don't like .Net either. Heck, I don't like anything. In fact, nothing's perfect. How about that. There are things that Java is wonderful for, things that .Net is ideal for, things that Delphi (yes Delphi) is great for. There are things that C++ is great for. There are things that Python is great for. No one language rules all. I love Python, except that its GUI frameworks universally suck. Even PyQt. Java is pretty impressive, and after 15 years of ignoring it, I might actually find a project where I need it. netbeans is pretty nice too, by the way. Certainly nicer than Eclipse, which I really really hate. Warren

    30. Re:Oracle and Java by jd · · Score: 2

      No, it's got some speed improvements from JRockit and other tweaks that don't exist in the open source code and are unlikely to ever be published. They may well port over other bits from JRockit and other JVMs they've bought or have heavy control over, with the intent of vendor lock-in. You can't move to the free version because Oracle won't let the free version support the enhancements (such as real-time support, better debugging and profiling, etc) that projects actually use.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    31. Re:Oracle and Java by jd · · Score: 4, Funny

      The problem with HP is that they use high-power automatic weapons to shoot themselves in the foot that also take out everyone else's feet, the floor, part of the walls, some of the landscape and a perfectly innocent asteroid.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    32. Re:Oracle and Java by viperidaenz · · Score: 2

      Thats a limitation of the platform. Tell me how you would delete a file that is open. Don't forget that the process that has the file open may still have it open after the JVM process terminates. It may also change the privileges on the file so when it does close it, you nolonger have access to it.

    33. Re:Oracle and Java by jd · · Score: 3, Interesting

      Java's API is more stable than Tcl/Tk, the mobile version of it is less of a memory hog than C++, it's easier to learn than Erlang, and easier to port across OS' than Visual Basic. Java applets will also run on web browsers for your PC, whereas there aren't applet containers for any of the other languages I've listed other than Tcl/Tk (and that is not only unmaintained, it wasn't very good when it was maintained).

      With the exception of Visual Basic, the other languages are superior to Java in absolutely every respect other than the couple of things Java does better, but the point of marketing is not to present reality for a fair and honest debate of merits but to promote one option over others.

      Java is actually a really bad language in many respects, but it IS runnable in any web browser and it DOES have a good marketing team. Other languages which are actually superior overall are unmarketed and often not runnable in environments you need them in to make them useful in this kind of hybrid market.

      I'll also point out that when Java was released, the only serious rival as a ubiquitous platform-independent language at the time (Python) was maintained by one person and that scared a lot of people. Python also had a lot of limitations back then, long-since overcome. Unfortunately, Python 3's lack of serious traction (Python 2 is still the interpreter of choice for most new Python apps) and design quirks resulted in a lot of people moving to Ruby. I say "unfortunately" because although Python and Ruby are great languages, there's a lot of insularism. Communities don't fragment through the presence of choice, they fragment when those choosing do so with an exclusive and elitist air.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    34. Re:Oracle and Java by VGPowerlord · · Score: 2

      Even then, you can download JRockIt 28.2 separately. As far as I can tell, this is synced with Java 6 r29. Since Java6 r30 is the latest Java6, it's not that far out of date.

      Now, whether it will be compatible with Java7 is a whole different ballgame.

      Side note: java.com does not yet offer Java7 for download, so 6r30 is the latest version in its eyes, despite 7u2 being out.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    35. Re:Oracle and Java by JonySuede · · Score: 2

      Write once, curse (and debug) everywhere

      Here, we have written a shit ton of java applications running on windows and mac os X. We always have coded to the spec, we had about 2 portability problems in about 10 years and they were both solved by raising a PMR with IBM who told SUN to fix it's jre as it does not behaved to the spec. The java platform is one platform with one of the most detailed set of specifications, but those spec are almost always unread by developers...

      --
      Jehovah be praised, Oracle was not selected
    36. Re:Oracle and Java by bertok · · Score: 3, Insightful

      Maybe, but that is a massively unfair comparison.

      There is no way in hell that your Java app uses anything even as remotely complex as DirectX, because a) Java is "lowest common denominator" and hardware acceleration is very new and platform-specific, and b) then it would certainly no longer work across all of those platforms. You'd have had difficulty even using multi-threading across all of those platforms back in the Netscape 2.0 days, because the threading and memory models weren't all that consistent. I've spent a lot of time debugging supposedly WORA multi-threaded Java apps back around 2003 that behaved hugely differently across Windows, Linux, and Solaris.

      Comparing a Windows app (game?) that uses hardware acceleration (!) to a business app that's basically just a bunch of "if-else" code and string processing is not exactly fair. Try writing the SAME app on both platforms and see how your portability compares.

      In my experience, Microsoft has some of the best backwards compatibility of any vendor out there. Well written C++ and .NET apps on Windows will probably keep working until the heat death of the universe. Meanwhile, Java took a long time to catch on to the fact that the runtime and standard libraries aren't 100% backwards compatible, and that people may actually want to run multiple versions side-by-side. For comparison, every .NET app uses the appropriate runtime automatically.

      Back in 2006 I wrote a fairly complex NET app with several interacting components starting with .NET version 2.0 that ran on 32-bit Windows XP/2003. The exact same app works on two processors platforms (x86 and x64), on at least five major editions of Windows, three editions of IIS, and has been upgraded trivially through .NET 3.0, 3.5, and now 4.0. On top of that, the back-end database started on SQL Server 2005 RTM, and went through every major service pack release all the way up to 2012 RC0 without a hitch, despite using .NET stored procedures in the database.

      Mind you, Microsoft's .NET isn't perfect either. Their insistence on using external unmanaged code for everything they can does sometimes bite them in the ass. For example, running a business app developed originally on a x86 computer on an x64 machine will sometimes cause it to run as 64-bit, which normally would be fine, except that Windows has a different set of ODBC drivers for x64. The app will run, but it might not be able to connect to its data sources. Oops.

    37. Re:Oracle and Java by lucidlyTwisted · · Score: 2

      Recent OpenJDKs; as in, withing the last year? No, not one hiccup (loads of third party; Apache Commons, Faces etc in use). My employer doesn't even support OpenJDK or the OS I'm using for dev, I just treat it as an extra layer of testing (and I can swap JDKs/OSs easily enough). Curiously enough, my "illicit" system seems to run much better than a lot of the others - not sure if that is a function of OpenJDK or the OS. Hmm...time for some metrics methinks.

      I have seen comments of some issues with some of the Collections (usually disparity between hashCode and equals) and am pretty sure that bit us, but as I say; nothing of late.

      JRockit however? Thar be dragons! Just glad it's no me who has to deal with it.

    38. Re:Oracle and Java by Grishnakh · · Score: 2

      Why do companies shoot themselves in their feet? I don't know, but companies do it all the time.

      Well, I do know, and I'll tell you the secret. It's the exact same reason individuals do things like take up smoking, go flying by themselves with very little experience as a pilot and wreck, drive recklessly, have sex without protection when they're in no position to take care of kids, etc. It's because people are stupid, and also because they're too self-confident and think they know what they're doing, when they don't. The people running big companies are no different, and in some ways worse; they think they're brilliant people because they're at the top of a big organization, so they go make "bold" decisions that turn out to be utterly stupid and ill-considered, but by the time they realize this it's too late and the damage is done.

      Corporations don't do everything because it makes perfect rational sense in a sociopathic way. Many times they make stupid decisions because the people running them are human like the rest of us (but minus a conscience), and do stupid, reckless things.

      As for Oracle as a company, what the heck have they ever done that was of any worth, except database software? Everything else they've tried to get into in the last 10 years has pretty much been a disaster as far as I can tell. They have a RedHat-derived Linux distro that no one uses, then they bought out Sun and drove OpenOffice into the ground, now they're driving Java into the ground, I'd be surprised if they're still making any enterprise computing hardware with the Sun part after 2 years. They're like the opposite of King Midas: everything they touch turns to shit.

    39. Re:Oracle and Java by SlashV · · Score: 2

      The only misplaced apostrophe I can see in the GP's post is on "want's" and that IS NOT a pluralization. If you're going to be a http://www.youtube.com/watch?v=N4vf8N6GpdM, at least do it proper SS style and not like some stupid foot soldier.

    40. Re:Oracle and Java by jd · · Score: 4, Informative

      * I've used Java since the alpha release. I've used it in more environments than you could possibly comprehend. I regard it with contempt, it's a C knock-off without any of the redeeming features of C and should have remained the province of toasters and vaccuum cleaners (the original purpose of the language for those who ACTUALLY bother with things like, oh, history).

      * Tcl/Tk is actually a damn sight more solid as a platform - if only the API would settle down. The community for Tcl/Tk is considerably larger, which is no surprise as the language is considerably older.

      * Perl is an amazingly stable platform and has a community beyond the comprehension of most mortals. It has plenty of GUIs (including Perl/Tk).

      * Languages "that target the JVM" don't make any difference. Java Native Invocation makes it so any language can be accessed by the JVM, so it's a senseless concept in the first place. Secondly, having out-of-JVM code defeats the sandbox AND the run-anywhere concepts at the same time. Thirdly, there is no "Java Platform", there is only Java the language. Take away the language and all you have is a virtual machine -- and those are two-a-penny.

      * Java's ability to run in a browser is perhaps the only facet of Java-the-language which distinguishes it from any other language. It's the only reason it gained popularity (it existed as Oak for years and only came to the public's attention when it entered the browser under the name of Java), it's the only reason phones use it (if you've already included a Java-enabled web browser on the phone, you already have Java so why have any other interpreter in there?) and the list of defects within the design is staggering, making mistakes most scripted, bytecode-compiled or native-compiled languages had resolved years earlier.

      * Do you know, really know, just how many programming languages there are? And why none of them gained any kind of traction over the Internet? Look at the servlets - they're JVM-based, despite the fact that Java has the worst threading model of any language and the least ability to process text. Do you know why servlets exist at all? It's because fat clients became unpopular. So why was Java chosen? Because it was the "language of the web". Why was it the language of the web? Because Java applets existed and anyone with a web page could add one. This meant Java was used by a lot of people and THAT is why there was a community there to begin with. No applets, no community. Java is the single-worst language for what it is used for today, it is used because of that one historical facet and nothing else.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    41. Re:Oracle and Java by Billly+Gates · · Score: 2

      Java got a really bad rap due to swing which was very slow and VMs that were not very good for the first 5 to 6 years. I remember counting a full minute a decade ago to launch netbeans (swing based). Once opened I was surprised at the gui's and how quick the applets I wrote were. By then if you mentioned Java on slashdot you would get 12 replies saying it was SOOO SLLLOOOWW and flamewars starting. People never thought about the Java APIs and obsessed about swing applet load times instead to make a value judgement on the language.

      The Fud worked, and new FUD about C# and Mono being just as cross platform compatible and 10x faster could run on Linux and this would be the wave of the future by 2012 etc. Mono failed to delievery but it is too late.

      Only legacy code is written in Java for some overly engineered app on the server. Java is perceived too slow to run desktop software so no programmer will touch it on the desktop and most geeks disable java in their browsers anyway due to security risks.

      The truth is Java had the most advanced API around and you could do anything with it. It was amazing. Only .NET comes close and it took MS almost a decade to catch up.

      Today it does not make sense to start a new project in Java. It is like saying a new project in COBOL. It is legacy

    42. Re:Oracle and Java by SplashMyBandit · · Score: 2
      LOL! Your statements are almost all verifiably false. I can see you read articles saying "C++ is better than Java cause it is more obscure and l33t" rather than having to use both on a daily basis.

      For example, Java has direct language and library support for concurrency and threading which is vastly better than C++'s non-existing language support and non-standard library support for threading (you need different libraries depending on the platform you are on). Java also most certainly has pointer-like constructs, they just happen to be called 'references' instead of pointers.

      The dynamic memory support in Java is vastly better (although non-deterministic in the OpenJDK) than C++, with C++ it is a nightmare to use resources in a multi-threaded application whereas in Java the garbage collector will sort it all out for you (and the new G1 collector is very very efficient). In short, your statements are not true about Java and were not even true of the early (slow) versions of Java, let alone the current versions that leave C++ for dead on current hardware. Next time I would suggest doing some actual reading from both Java proponents (as well as C++ proponents, of course) before posting - especially if you are not a developer or a developer with little experience in *both* languages. As someone who has used C++ for over a decade and Java since it was first released I would say both have their place but in general Java is vastly superior to C++ for many, many reasons (which I won't go into here) and anyone contemplating writing a new project in C++ (or even C#, given the increasingly multi-platform nature of the world) rather than Java really better either have a fantastic reason or is a nutter.

    43. Re:Oracle and Java by PCM2 · · Score: 2

      His point was that Apple basically dropped support for it and now OS X users aren't saddled with shitty Java applications. There are ZERO good desktop Java applications.

      Maybe, but nobody twisted Apple's arm to support Java to begin with. Apple was all over it. They wanted Mac OS X to be the "premier platform for Java development." When I say they "dropped the ball," I mean it literally -- wayyyyyy before Apple dropped support for Java, it totally failed to live up to its promises to develop Java for the Mac OS X platform. Far from being the premier Java platform, it couldn't keep up with the status quo of Java on Linux, let alone on Windows or Solaris. Apple bungled the entire project, and that's why it eventually dropped support for Java -- not because it somehow "knew better" than anyone else. Rather the opposite, in fact.

      As for Java desktop applications, I know for a fact there are (or at least were) a lot of Java desktop applications in use in large businesses. Whether or not they're "good" is kinda beside the point; not being able to run them was yet another factor that blocked Apple from the enterprise market for many years.

      --
      Breakfast served all day!
    44. Re:Oracle and Java by syousef · · Score: 2

      Hell, I can't program past visual basic and I make more than either of you!

      So there.

      Paris Hilton probably can't tie her own shoelaces and probably has enough money to hire everyone on slashdot as a personal butler for 1000 years.

      Money isn't everything.

      --
      These posts express my own personal views, not those of my employer
    45. Re:Oracle and Java by kaffiene · · Score: 4, Insightful

      What a moronic load of crap. Java has not succeeded for this long because of marketing. At some point, a language needs to be able to just get stuff done - and it has. People like the Apache foundation haven't produced a metric shit-load of projects in Java because they liked Sun's marketing, they did it because Java was good at getting work done.

      I'm a C hacker from way back. I used C++ from when it was a C preprocessor. C is one of my favourite programming languages, but so is Java. They are both excellent at Getting Shit Done (tm). Ignoring all that's good about Java because it had a marketing drive decades ago is pathetic. Ruby has been hyped recently. Microsoft's Visual C++ has had a tonne of marketing from MS - ditto C#. Should we dump all those languages or claim that their successes are all marketing? Give me a break. Grow the fuck up.

    46. Re:Oracle and Java by kaffiene · · Score: 4, Informative

      "There is no way in hell that your Java app uses anything even as remotely complex as DirectX"

      I've got Java OpenGL code with 3D sound and raw input access that works fine across Windows, Linux and Mac.

      I chose to roll my own (JOGL, OpenAL, JInput) but LWJGL (http://lwjgl.org/) provides all of those features I mentioned as well.

      "Comparing a Windows app (game?) that uses hardware acceleration (!) to a business app that's basically just a bunch of "if-else" code and string processing is not exactly fair. Try writing the SAME app on both platforms and see how your portability compares."

      I have. It works perfectly.

      Any more FUD you wanted to sling?

    47. Re:Oracle and Java by RubberMallet · · Score: 4, Informative

      Yes Oracle is wildly successful, but they are also VERY shortsighted.

      I worked (note past tense) for Oracle... I saw it first hand. I saw the decision process.. I was involved in it. I fought against it too... I tried hard to point out the short term thinking... and was shot down. Oracle is all about this quarter, not next.. just this quarter... and making as much profit in any way possible this quarter. If that means destroying a product-line that is lined up to be very successful and profitable next quarter, then so be it as long as there is profit this quarter. If that means laying off thousands so that the numbers crunch out, then so be it. Layoffs are expensive and unnecessary? Well defer that expense to the next quarter and plan re-hiring next quarter, because Oracle must be ridiculously profitable this quarter.... and so on.

      Sure there is an element of "Oracle isn't doing things the way I want", but there is a mountain of truth (it's so far beyond a kernel of truth, it has become a mountain) to the shortsighted comment.

    48. Re:Oracle and Java by RubberMallet · · Score: 3, Interesting

      Sure... by riding on the success of the database. As many others here have pointed out, the database is fine, but everything else they touch turns to shit - Need an example? Well, have you ever tried Oracle Unbreakable Linux? One example of many many many in the Oracle pile of rotting product lines... some have already fallen out, and many more are due to follow.

      Being "successful" doesn't make it right. Look at the success of certain world rulers. They are "successful" for decades by basically destroying everything in sight. Random despot has survived and thrived for n years where n is somewhat larger than 1.

      The point being, yes Oracle is successful, but not through careful management and intelligent decisions.... more through blind luck, sheer bloody mindedness, and the ability to not care who gets crushed in the process... The core of this discussion links back to Oracle's stewardship of Java (and several other projects/products). Oracle has no real interest in Java as a product beyond "this quarter". If profits now mean trashing and destroying Java, you can count on it that Oracle WILL trash Java. Why do you think the remaining debris of what was once Sun is looking nervously over its collective shoulder? VirtualBox, Solaris, MySQL... all at major risk from Oracle's money money money money money money money focus (not that profit is wrong... but profit at the expense of everything else... that's not healthy for anyone).

    49. Re:Oracle and Java by BeforeCoffee · · Score: 5, Interesting

      Oh, you're one of THOSE guys. You complain too much. Java isn't as bad as you say even if there's a whiff of truthiness in most of your criticisms.

      I argue, Mr. Grouch, that the crown jewels of Java are not to be found in the language. They're found in the JVM. Plain and simple: the JVM is the most banged on, battle hardened, security-first computer programs ever written. There is no more trustworthy binary in the world more than java.exe. You want an unrockable web server? Run Tomcat with the NIO thingy enabled on the latest Java 6 atop Linux with the firewall all ratcheted up. And don't proxy through Apache HTTPD if you don't have to - that's just one more security-as-afterthought, million moving parts binary with perennial remote exploits to worry about.

      Why do languages "that target the JVM" actually make a difference? Because you get all that bitchin runtime robustness without the Java language baggage you just love love love to complain about. And while we're at it: Java Native Invocation (JNI) is considered harmful. Native code tainting the JVM? You better have a darned important exotic business requirement to bring new native code into the equation. As far as I'm concerned, you're crazy as a loon to write native code these days unless you're doing embedded systems or device driver development. I'm wondering why you would suggest something so reckless! Care to elaborate?

      I know the JVM's design makes life a real drag sometimes. It feels like a trusty slingshot that's been upgraded into a WMD. But, I could care less about aesthetics or the angst about Java that computer language and open source purists express. I care about stability. I care about uptime. I care about speed. But most of all, I care about security. I care about the total cost of the systems I run.

      Ok, ok, I'm leaving, I'm getting off your lawn.

    50. Re:Oracle and Java by cheekyboy · · Score: 2

      Version 7 is on the same page as the 6 download

      Url is http://www.java.com/en/download/faq/java7.xml

      --
      Liberty freedom are no1, not dicks in suits.
    51. Re:Oracle and Java by Truedat · · Score: 3, Interesting
      You failed to mention the initial email http://fosspatents.blogspot.com/2011/07/judge-orders-overhaul-of-oracles.html#sovietstyle sent by Rubin in 2005 that said:

      "If Sun doesn't want to work with us, we have two options: 1) Abandon our work and adopt MSFT CLR VM and C# language - or - 2) Do Java anyway and defend our decision, perhaps making enemies along the way"

      Not saying this is a smoking gun but your timeline deserves a correction:

      Putting together a timeline:
      1) First "damning" email in 2005

      2) Android released in 2008
      3) Oracle purchased Sun in 2009
      4) "Damning" email in 2010

    52. Re:Oracle and Java by characterZer0 · · Score: 2

      90%+ of cross-platform issues I have seen with Java involve people hard-coding "C:\".

      --
      Go green: turn off your refrigerator.
    53. Re:Oracle and Java by _xeno_ · · Score: 2

      Plain and simple: the JVM is the most banged on, battle hardened, security-first computer programs ever written.

      Really? So you're running the latest version of Java (update 30, I think?) to close that remotely exploitable "arbitrary code execution" bug, right?

      And that would explain the over 700 CVE Java entries, right? Including two already this year! Already going straight into the remote vulnerabilities again, Java!

      I've always wondered how Java manages to have arbitrary code execution bugs on a routine basis, being a virtual machine that supposedly does bytecode verification, not to mention the built-in array boundary checking, yet it does. Consistently and frequently. It's kind of impressive, really.

      --
      You are in a maze of twisty little relative jumps, all alike.
  2. F-Secure by Anonymous Coward · · Score: 2, Insightful

    Great, a language is a security hindrance. Isn't that like saying executable files themselves are security hindrances?

    1. Re:F-Secure by Ossifer · · Score: 2

      I think the basis is that with Java the code is technically in the executable's data memory and thus lacks certain OS/CPU-level protections...

  3. Re:Don't understand by gral · · Score: 5, Informative

    OpenJDK has been the default in Ubuntu for a little while now. I don't think most distributions used the main Oracle Java in their distro by default either. OpenJDK is still available, and included, it is just the oracle version that has been removed. OpenJDK is backed by other companies than just Oracle, and is licensed for distros. At least, this is my understanding of the landscape.

    --
    Scott Carr
  4. I don't see these as real issues by Necroman · · Score: 5, Interesting

    I follow Java developments regularly and I don't see these points as being real issues.

    Modularization: Project Jigsaw is meant to bring a more simple module system when compared to OSGi. OSGi is a great tool, but overly complicated for many people. Also, having Jigsaw built into the JRE will allow Oracle to split the base JRE into modules and hopefully reduce the memory required on initial load of a Java app. (Java core libraries have some horrible dependency trees, which cause a large chunk of the base JRE libraries to load on even the most simple applications).

    Java Licensing: Sun started to push OpenJDK before it was bought by Oracle and that trend is continuing. The idea is that OpenJDK should be included with OS's like Ubuntu. OpenJDK is a GPL fork of a majority of the Oracle JDK, but some pieces could not be released as GPL because Sun originally licensed them from others (so those parts had to be re-written). I think it's better for everyone if OpenJDK gets more people using it so the bugs are worked out and it's a great open source Java implementation.

    --
    Its not what it is, its something else.
  5. Java, Ubuntu, and students by Abalamahalamatandra · · Score: 2

    I will say that this has been a major pain for me - I run nothing but Ubuntu at home and already spend enough time dealing with my kid's school's insane focus on Microsoft technologies.

    Now, one of the most important sites for my kids to use (Aleks) is totally broken with Open Java. It was enough of a pain with Oracle's Java, but now it's unusable.

    Thanks a lot Oracle! Wouldn't want anyone actually using your software or anything.

    1. Re:Java, Ubuntu, and students by kiwimate · · Score: 2

      already spend enough time dealing with my kid's school's insane focus on Microsoft technologies

      Yeah, stupid, insance, irrational school. The idiocy, using products that are niche and unpopular and barely used by anyone...

      Oh wait...

    2. Re:Java, Ubuntu, and students by DrgnDancer · · Score: 4, Insightful

      I don't want to be an ass, and I agree in principle that school sites should be at least as platform independent as possible; but honestly how many possible OS configurations should a school test against? If you work on Windows you probably have 90% of parents covered. If you work on Windows and Mac you probably have 99.9% of parents covered. Is working on Ubuntu really worth that extra .1% of parents who could honestly just put Windows in a VM? I understand the desire to use what you want to use, and not let stuff like this dictate how you run your computer, but is it really worth a whole lot of tax payer money to make sure that the school website works for such a small user base? If so at what point do they stop? Do they have to test against every Linux distro? The various BSDs? 32 and 64 bit version of all of this? Install the most minimal cost/complexity Windows VM you can get away with and show the kids how to boot it to do their work.

      --
      I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
  6. Re:C++ is cross-platform by Osgeld · · Score: 3, Insightful

    *ix user since Solaris 2.6 Intel desktop edition, and to this day if someone hands me source, and I don't absolutely don't need to have that software, I walk away. I honestly have better things to do than guess at your dev enviroment, scurry up bullshit and do your job.
     

  7. Re:fp by jd2112 · · Score: 5, Funny

    FIRST POST

    Obviously you aren't running Java, otherwise you wouldn't have been able to post so fast.

    --
    Any insufficiently advanced magic is indistinguishable from technology.
  8. damned if you do... by blackfrancis75 · · Score: 4, Interesting

    the really funny/sad part is that many of the same people here who will condemn Oracle for capitalizing on Java are the very people who sadly shook their heads that Sun *wasn't* able to leverage it commercially.

    1. Re:damned if you do... by Tablizer · · Score: 3, Interesting

      You assume they are mutually exclusive.

    2. Re:damned if you do... by SleazyRidr · · Score: 2

      I think the issue is that under Sun, Java didn't suck, where Oracle seems to have made it suck in order to make money from it. People here are (generally) in favour of companies making money by delivering good products. The issues come up when they try to squeeze too much money out and by doing so degrade their products quality.

  9. Not an accurate summary of the case by Anonymous Coward · · Score: 5, Interesting

    Those "two sides" are not correct. This lawsuit doesn't hinge on whether or not Java is open. The real situation is that if Google had licensed Java, it would be protected from Oracle's patent infringement lawsuits (due to licensing terms) regarding patents that have NOTHING PER SE TO DO WITH JAVA. Those patents cover techniques used to implement virtual machines, and they could potentially be used to sue Perl, Python, Ruby, and other virtual machine technologies.

    1. Re:Not an accurate summary of the case by WaywardGeek · · Score: 4, Insightful

      I love posts on slashdot by people who have more than the average clue about what's going on. Thanks for the info. I've been using openjdk for the last year, and I think it is finally something close to a real free software alternative for most Java programs. I also use Android's Java. Pretty much, I think we should be using any viable alternative to Oracle. They simply can't be counted on.

      --
      Celebrate failure, and then learn from it - Nolan Bushnell
    2. Re:Not an accurate summary of the case by voidphoenix · · Score: 4, Informative

      OpenJDK (class libs, compiler, virtual machine) are were released under GPL by Sun/Oracle. It's not at risk.

    3. Re:Not an accurate summary of the case by Rakishi · · Score: 2

      Why? Where does the GPL version they were released under licence the patents in question to users or developers? Less of a risk doesn't mean no risk.

  10. Re:Don't understand by Miamicanes · · Score: 3, Informative

    It's because Oracle (formerly Sun) makes huge amounts of money licensing the rights to distribute installable copies of Java. Java is only free (as in beer) if you, the end user, personally download it from Oracle's official web site and install it yourself as a separate process distinct from installing any app that requires Java.

    Officially, you (as a developer) aren't even allowed to try and automate the process. If you want to automate the process in any way, and/or bundle a Java installer with your app, you have to pay HUGE amounts of money for the rights to do it.

    Java's licensing is brilliantly viral, because it imposes restrictions that developers never even *notice* until somebody points out their implications to naive end users. MySQL's licensing works more or less the same way -- free for end users to download & install themselves, but the moment an automated installer enters the picture (or a consultant is involved), the mandatory licensing fees kick in... and the fees are high enough that if you're running Windows servers anyway, you'll probably end up kicking yourself for having not just used SQL Server to begin with. I'm not talking about web serves you configure yourself... I'm talking about commercial apps that depend upon a database for their persistent backing store, and would normally be installed like a normal application.

  11. Re:fp by SplashMyBandit · · Score: 2
    Great joke from the 90's.

    In case some of the Slashdot readers take the joke (and what used to be true) as the current state of affairs I thought it worth correcting them (otherwise they will have a mistaken view of the *current* performace of the JVM). It turns out today that Java on the Oracle JVM is faster than pretty much every other general-purpose language except for FORTRAN (which is fast 'cause it so simple - which is why FORTRAN programs still dominate much of supercomputing). Don't take my word for it. Take that of James Gosling (a biased source):
    http://blogs.oracle.com/jag/entry/current_state_of_java_for
    and the French supercomputing facilties of INRIA (an unbiased source):
    http://hal.inria.fr/inria-00312039/en

  12. Re:fp by ultraata · · Score: 2

    I've been working with cisco devices java GUI for years - and it still sucks in terms of speed and reliability.