Slashdot Mirror


Apple Deprecates Their JVM

Mortimer.CA writes "In some recent release notes Apple has deprecated their JVM: 'As of the release of Java for Mac OS X 10.6 Update 3, the version of Java that is ported by Apple, and that ships with Mac OS X, is deprecated.' In the past Sun (now Oracle) has always let Apple do this: 'Apple Computer supplies their own version of Java. Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac.' I wonder how much heads-up Oracle was given for this change, and if the Java team has any code ready to go, or whether they'll have to ramp up porting for Mac OS 10.7 (aka 'Lion')."

78 of 451 comments (clear)

  1. Patents (usually) wouldn't worry Apple by ciaran_o_riordan · · Score: 3, Informative

    Oracle's patent moves probably didn't help, but Apple's normally not a company to be afraid of software patents - they have a big enough portfolio of their own.

    http://en.swpat.org/wiki/Java_and_patents

    (Phone patents are another beast - they're held by companies that Apple often doesn't have as long a history of dealing with and they don't yet have patent non-aggression pacts)

    1. Re:Patents (usually) wouldn't worry Apple by rwa2 · · Score: 3, Interesting

      Meh, I could see them possibly doing this to strengthen Oracle's suit against Google's Dalvik VM in Android.

      Or possibly Apple wants to introduce the straightjacket-in-a-walled-garden appstore approach to their desktop in addition to iOS, so they're starting to make moves to discourage the distribution of portable Java apps the same way they inhibit Flash on iOS.

      Other than that, seems like a bunch of maneuverings between companies and technologies I don't really care all that much about. But at least hopefully it'll keep the fanbois who like chatting about soap opera politics preoccupied for a bit.

    2. Re:Patents (usually) wouldn't worry Apple by cindyann · · Score: 4, Insightful

      And all along I thought it was because it just wasn't ready for production use.

      The BSDs are still working on getting ZFS good enough to use. Everyone I knew that tried it on OS X said it was shit.

    3. Re:Patents (usually) wouldn't worry Apple by tlhIngan · · Score: 2, Interesting

      Oracle's patent moves probably didn't help, but Apple's normally not a company to be afraid of software patents - they have a big enough portfolio of their own.

      http://en.swpat.org/wiki/Java_and_patents

      (Phone patents are another beast - they're held by companies that Apple often doesn't have as long a history of dealing with and they don't yet have patent non-aggression pacts)

      MacOS X will probably be using J2SE, which the Sun/Oracle Java patent licenses will allow. Since Apple ported the Sun JVM, it would be a compliant suite. Sun/Oracle never gave free patent licenses for J2ME, however (as J2ME is very lucrative, being used in most cellphones around the world ("dumbphones" and featurephones)).

      Android, however, unless it implements J2SE wouldn't be covered.

      As for mobile patents, it would appear most don't have non-aggression pacts, going by all the mobile lawsuits all over the place. At least on the ones that aren't covered by RAND.

      It doesn't come as a huge surprise though - I think the Java as an API in MacOS X has been quietly deprecated since Panther or so - you could still use it, but Apple pretty much depreceated it quietly for many years. It does affect a few apps I use though - Vuze and JBidWatcher, but those are on an older Mac that can't run Snow Leopard anyhow.

  2. So they are dropping another tech by Superken7 · · Score: 2, Insightful

    So they have dropped default support for flash, then java, now they just launched their app store.

    This is really starting to look more and more like the iphone. I just hope they don't start dropping multitasking and third party software sources.
    As long as users are able to install non-appstore apps, install flash and install java, I'm fine with it.

    1. Re:So they are dropping another tech by DJRumpy · · Score: 3, Insightful

      No, they simply depreciated the 'Apple' version of Java, meaning it will probably be discontinued in Lion. I suspect that due to the changes in ownership over Java that they will now handle things like everyone else and get their java from Oracle. They aren't 'dropping' Java or anything of the sort. You'll simply go to Oracle to install it rather than getting it out of the box.

      I would imagine Oracle asked for this, or Apple simply decided it wasn't worth the hassle of maintaining their own java machine.

    2. Re:So they are dropping another tech by zlogic · · Score: 4, Insightful

      And after removing Flash and Java and publishing the "We want the web to be open" public letter Apple still requires Quicktime to watch videos on their own website. Hypocrites.

    3. Re:So they are dropping another tech by bbtom · · Score: 4, Insightful

      The push for getting everyone into HTML 5 using Javascript and all of those technologies necessitates getting rid of the old ways.

      By which you mean the JVM? It has nothing to do with "internet standards" ffs.

      You do know that 'Java' is to 'JavaScript' as 'car' is to 'carpet'. Beyond a few shared letters for early buzzword compliance, and things like the Rhino interpreter, there is no real relationship between the two.

      All those sexy HTML5/JavaScript apps have to be written in programming languages and hosted on servers. And plenty of people are building on top of the JVM. Large chunks of both Twitter and Foursquare are written in Scala, a JVM language. Why? Oh, something about how it is good for long-running processes due to something ridiculous like a million engineer-hours going into JVM development.

      If we should get rid of technology simply because it is old, let's get rid of C. No, wait, let's not. Because it is a useful and practical technology, and we should base our technical decisions on technical merit not on buzzword compliance and what appeals to Web 2.0 shiny-seekers.

      --
      catch (HumourFailureException e) { e.user.send("You, sir, are a humourless idiot."); }
    4. Re:So they are dropping another tech by Anonymous Coward · · Score: 4, Informative

      Other media players will probably support HTTP Live Streaming in a couple months. It's not like it's a proprietary format or anything- it's just a continuously updating MPEG-2 file sitting on a server. Quicktime continuously checks that file for updates and downloads just the new parts when they get uploaded. I'd rather they use that than Adobe's proprietary streaming format or Real's proprietary streaming format.

    5. Re:So they are dropping another tech by DrgnDancer · · Score: 5, Insightful

      Or they looked at the Android lawsuit and said "Hmm, I don't *think* we're breaking any laws, but why take chances?" Oracle is playing a different game with Java than Sun did and personally I'd want to stay out of it as much as possible. There's lots of reasons they may have done this and with ~8 months notice Oracle has plenty of time to build their own JVM.

      --
      I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
    6. Re:So they are dropping another tech by AltairDusk · · Score: 3, Insightful

      I would have to disagree that HTML 5 is a suitable all-around replacement for Java.

    7. Re:So they are dropping another tech by WankersRevenge · · Score: 3, Interesting

      This is not a sign of lockdown ... java support on Macs having been drying up since Apple deprecated the Java-Cocoa bridge years ago. Nevermind it took them two years to release Java 6 which required users to have 64bit intel boxes. So, if you were doing any sort of Java desktop work (yes, this does exist), you were stuck on Java 5. If you were doing any server side work, you'd need to install SoyLatte to use the updated class libraries, nevermind dealing with performance issues from moving from JVM to JVM.

      This is a GOOD THING as now Mac's will have a better supported and up-to-date JVM and updates should come quick and fast compared to Apple's sluggish almost apathetic attitude towards releases.

    8. Re:So they are dropping another tech by Vectormatic · · Score: 3, Insightful

      this insightfull?

      So now Oracle will develop the JVM for Apple.

      It is plausible enough that oracle won't, or will take so much time / bungle some stuff so bad that java on mac essentially becomes a no-no long enough to drive everyone to objective-C. Given the fact that java these days is mostly about server-side stuff and (the language anyway) android, i dont see any reason why oracle would hurry with an OS X JVM (they mostly care about their own server stack anyway, and OS X isnt anywhere near significant in server-world)

      FYI Google doesn't care for Java, so stop sucking Google's dick.

      Google runs TONS of their shit on java, heaps of their server-side apps are completely running in java. If any mega-corp cares about java (aside from oracle themselves), it would be google

      --
      People, what a bunch of bastards
    9. Re:So they are dropping another tech by Anonymous Coward · · Score: 3, Informative

      Funny story: in order to watch Apple's live stream of the "Back to the Mac" event yesterday, I had use my 1st gen iPod touch. This despite the fact that i have a macbook sitting on the same network. Why? because it required Snow Leopard to stream. Their 2 year old general purpose operating system can't "handle" the stream but their 4 year old mp3 player can? Yeah Apple cares so much about its "real" OS

    10. Re:So they are dropping another tech by martyw · · Score: 2, Interesting

      Rumor has it that they are dropping it to discourage Android apps development (Java) on Macs.

    11. Re:So they are dropping another tech by Anonymous Coward · · Score: 2, Insightful

      I was going to write a detailed post on exactly what is wrong with that letter, but gave up after a paragraph. It's too simple to devote that many words to explaining: It's just a lie, pure and simple. Apple don't really want the web to be open, or anything else for that matter - they are one of the most closed, proprietary companies in the technology sector. Even more than Microsoft, and on a level of control-seeking usually found only in mobile telephony. They just lied in order to justify their purely commercial desire to kill off flash support - and they have plenty of reasons, not least of which is that the sales of 99c and $1.49 casual games (eg, angry birds) in the app store would be severely impacted by the availability of a catalog of tens of thousands of already-released flash games.

    12. Re:So they are dropping another tech by VGPowerlord · · Score: 2, Informative

      In many ways, Apple is helping to move old tech out. Java, some will say, is still quite relevant. Apparently Apple does not agree. The push for getting everyone into HTML 5 using Javascript and all of those technologies necessitates getting rid of the old ways.

      You do know that 'Java' is to 'JavaScript' as 'car' is to 'carpet'. Beyond a few shared letters for early buzzword compliance, and things like the Rhino interpreter, there is no real relationship between the two.

      (Quoted a larger section of the GP post to make a point)

      Where did the GP confuse Java and JavaScript? The GP is making the statement that Apple considers Java (desktop apps) "old tech" and that they are pushing HTML5/JavaScript.

      All those sexy HTML5/JavaScript apps have to be written in programming languages and hosted on servers. And plenty of people are building on top of the JVM. Large chunks of both Twitter and Foursquare are written in Scala, a JVM language. Why? Oh, something about how it is good for long-running processes due to something ridiculous like a million engineer-hours going into JVM development.

      Apple makes a server OS, but afaik, the percentage of that market is even more minuscule than their share of the desktop market is. Web Servers are dominated by Linux and Windows (with the percentages of each varying wildly depending on whose stats you're reading), which combined control at least 90% of the market regardless of which survey you believe... and in Netcraft's 2009 survey, the only one where OSX is enumated, it is counted as part of the 3.45% of "Other non-UNIX" OSes.

      What Apple thinks and does is irrelevant to the server market.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    13. Re:So they are dropping another tech by PitaBred · · Score: 4, Interesting

      Larry and Steve are good friends. I would bet a lot of money that this is a "strategic" decision, not something in favor of customers directly.

    14. Re:So they are dropping another tech by M.+Baranczak · · Score: 2, Insightful

      The problem is, there is no other implementation of Java for Mac OS. If they were turning the maintenance over to Oracle, they would have said so.

    15. Re:So they are dropping another tech by jonabbey · · Score: 2, Insightful

      This is a GOOD THING as now Mac's will have a better supported and up-to-date JVM and updates should come quick and fast compared to Apple's sluggish almost apathetic attitude towards releases.

      Really? Where are these magical JVMs going to come from?

    16. Re:So they are dropping another tech by Anonymous Coward · · Score: 2, Informative

      Actually, it's already supported. I watched the Apple presentation yesterday with:

      curl $(for all in $(seq -w 1 9999); do echo http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/0640/064$all.ts; done) -o - | mplayer -

      The problem is not that they use the very simple HTTP Live Streaming, that's great. The problem is that their Javascript code refuse to recognize any non-Safari browser for video. Even when they use the HTML5 with H264: Google Chrome supports that (not Chromium), but Apple JS code refuse to give you a tag. Instead, they ask you to install Quicktime (good luck on Linux).

      That's the problem.

    17. Re:So they are dropping another tech by MobileTatsu-NJG · · Score: 2, Insightful

      ...and Steve is probably itching to reinvent UIs again and tell us we don't need overlapping windows and a menu bar after all (both integral to desktop OSs up to now).

      This alone should be a big blinking clue that the path you're wandering down isn't making that much sense.

      Making OSX work like iOS right now is a good deal more work than just mucking around with UI calls. You have to disable running of interpreted languages, completely sandbox each app, disable making files 'executable', and a whole slew of other things that the OS in its current design philosophy is taking for granted. It's stupid and it makes no sense to do that when iOS is already there.

      The best clue you're ever going to get that they're headed that way is if they release a 'netbook' or an iMac running iOS. Until that happens, it's just earn-an-insightful-mod fiction.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    18. Re:So they are dropping another tech by poopdeville · · Score: 2, Insightful

      Snow Leopard is $29. Really, there is no excuse to still be on 10.5. The whole point of making Snow Leopard cheap was so that everyone would be on the same release.

      If you have an Intel Mac you should be on 10.6. Period.

      You can give me 29$, since you feel so strongly about it.

      --
      After all, I am strangely colored.
  3. Mac as ultimate dev machine no more? by samkass · · Score: 3, Interesting

    In the past I've heard macs referred to as the ultimate developer's machine, with a full UNIX, all the gnu tools, a nice UI (with X if you need it), and nicely integrated laptop hardware. But Java is still one of the top languages on the planet, so if Apple really stops keeping it up to date that could put a nail in that coffin. Heck, I'm pretty sure the Apple Store has a big pile of Java back there...

    --
    E pluribus unum
    1. Re:Mac as ultimate dev machine no more? by ceejayoz · · Score: 5, Funny

      This dev is more concerned about Minecraft not working...

    2. Re:Mac as ultimate dev machine no more? by EricTheRed · · Score: 2, Insightful

      I still fall back to my various Linux boxen a lot but for the actual IDE, I find OSX does fulfill the so called 'ultimate developer's machine' - I actually know a former MS-SQL developer collegue who has converted because it does work.

      Let's hope either OpenJDK or IcedTea can fill in the gaps...

      The danger is that they are going to force people down the Lion/AppStore route on the desktop - and the size of the desktop user-base will probably surprise them and bite them where it hurts most, their wallet - not everything is iPhone/iPad

      --
      Java gaming nut - http://www.retep.org/ or for the rail http://uktra.in/
    3. Re:Mac as ultimate dev machine no more? by FictionPimp · · Score: 4, Insightful

      Honestly, with the talk of app stores, the ridiculous talk of macbook air's being the 'future of computing', and other things from yesterdays announcements, I will be keeping my eye closely on linux for the time being. I'm not sure I'm going to stay with Apple for my next computer. They seem to be going in a direction I'm not comfortable with.

    4. Re:Mac as ultimate dev machine no more? by Anonymous Coward · · Score: 2, Insightful

      In the past I've heard macs referred to as the ultimate developer's machine, with a full UNIX, all the gnu tools, a nice UI (with X if you need it), and nicely integrated laptop hardware.

      MacOS is actually based on the mach kernel, and not UNIX. /pedantic

      The issue here is that java is full of security holes, and is being actively exploited in the wild. If you have a normal computer (ie a non-mac), then you can download & install the latest java version from sun/oracle.

      But if you have a mac, you can't. Big brother Apple has decreed that mac users aren't smart enough to make their own decisions on installing updated versions java.

      Your only choices are don't use java, or wait until Apple decides to release an updated version of java and hope you don't get pwned in the meantime.

    5. Re:Mac as ultimate dev machine no more? by BasilBrush · · Score: 3, Insightful

      Anyone who wants Java can install it. Oracle don't release a Mac version right now because previously Apple have done that work for them. But that'll no doubt change if Oracle are still wanting to promote Java. And even if not, GPL says someone else will.

    6. Re:Mac as ultimate dev machine no more? by ThrowAwaySociety · · Score: 2, Informative

      In the past I've heard macs referred to as the ultimate developer's machine, with a full UNIX, all the gnu tools, a nice UI (with X if you need it), and nicely integrated laptop hardware. But Java is still one of the top languages on the planet, so if Apple really stops keeping it up to date that could put a nail in that coffin. Heck, I'm pretty sure the Apple Store has a big pile of Java back there...

      The Linux foundation doesn't develop a Linux JVM.
      Microsoft's JVM was awful and incompatible.

      Both those platforms are still widely used for Java development and deployment, in spite of depending on a third-party JVM.

    7. Re:Mac as ultimate dev machine no more? by BarryJacobsen · · Score: 4, Insightful

      In the past I've heard macs referred to as the ultimate developer's machine, with a full UNIX, all the gnu tools, a nice UI (with X if you need it), and nicely integrated laptop hardware. But Java is still one of the top languages on the planet, so if Apple really stops keeping it up to date that could put a nail in that coffin. Heck, I'm pretty sure the Apple Store has a big pile of Java back there...

      Apple doesn't maintain a distribution of python, but you're still able to run Python on OS X. The only thing that's really going to change is that it won't be Apple doing the work, it will be Oracle.

    8. Re:Mac as ultimate dev machine no more? by Anonymous Coward · · Score: 3, Informative

      UNIX is a specification, not an implementation. Mac OS X 10.5 onwards on Intel are UNIX 03 certified /pedantic

    9. Re:Mac as ultimate dev machine no more? by beelsebob · · Score: 4, Informative

      MacOS is actually based on the mach kernel, and not UNIX. /pedantic

      Mac OS X is actually based on the mach kernel, which, along with OS X's userland is a certified implementation of UNIX. /pedantic

    10. Re:Mac as ultimate dev machine no more? by AltairDusk · · Score: 2

      I personally didn't find Xcode that impressive (If that's the IDE you are referring to). The one thing I really miss from when I used my MBP is TextMate, it's simply a brilliant piece of software. I wouldn't quite call it an IDE but calling it an editor doesn't seem to do it justice so I won't attempt to classify it.

    11. Re:Mac as ultimate dev machine no more? by Bill_the_Engineer · · Score: 3, Insightful

      I think a lot of Apple devs have been asking for this anyway. I usually stick with the "tried and true" but my colleagues were very vocal about Apple being slow to bring the new features for Java into their JDK.

      Now that these people finally got part of what they wanted, let's see if Oracle or more likely OpenJDK steps in and gives them the rest. I personally look forward to helping bring Cocoa to OpenJDK and hope I'm not alone.

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    12. Re:Mac as ultimate dev machine no more? by jedidiah · · Score: 2, Insightful

      The problem with Unix defined as a marketing buzzword is that it leaves out a lot of important details that actual Unix users care about.

      It allows for a degree of "inconsistency and chaos" that Mac Zealots would eviscerate Linux for.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    13. Re:Mac as ultimate dev machine no more? by sveinungkv · · Score: 2, Informative

      I personally look forward to helping bring Cocoa to OpenJDK and hope I'm not alone.

      The BSD-port of OpenJDK already run on OS X. I don't know if they support using Cocoa yet but their mailing list would probably be a nice place to start looking for others that are interested in working on Cocoa support in OpenJDK.

      --
      Spelling/grammar nazis welcome (English is not my first language and I am trying to improve my spelling/grammar)
  4. Similar to Flash by BasilBrush · · Score: 4, Insightful

    This seems like a similar move to the obsoleting of Flash. Cross platform app development was useful when Apple was struggling to compete. Now Apple doesn't see any particular need for cross platform apps, because the breadth of app types is already covered by native Cocoa apps. They won't exclude Java in the way that they excluded Flash on the iPhone. But there's no need for them to spend development time on bundling it with the OS.

    1. Re:Similar to Flash by jonabbey · · Score: 2, Insightful

      There are a lot of custom, in-house apps developed with Java specifically to handle cross-platform issues.

      We couldn't have done a lot of our apps if we had to write separate versions for Windows, Linux, and Mac.

  5. Re:A move by Apple, or Oracle? by mysidia · · Score: 4, Insightful

    This means that the Apple-produced runtime will not be maintained at the same level, and may be removed from future versions of Mac OS X.

    Obvious reason: people aren't using the Apple-produced runtime in Mac Applications?

    Applications developed in Objective-C / Cocoa are more specific to the OS X platform, providing Apple a competitive advantage when developers build their apps using Cocoa, instead of something portable like Java.

    Not in Apple's best interest for Mac apps to be developed using Java.

    Not only can they be run on other platforms, but Java-based apps may not conform to Apple UI design guidelines

  6. watch oracle do nothing by Ryanrule · · Score: 2, Interesting

    tell apple they dont get java if they dont use a standard installer.

    1. Re:watch oracle do nothing by BasilBrush · · Score: 2, Insightful

      Watch Apple not care.

  7. Re:Plenty of heads up. by jonabbey · · Score: 4, Insightful

    They don't need to create an Installer, they need to create an entire port to a new operating system. The low-level threading and memory management, the GUI.. who wants their Java apps to be running under X11 on Mac?

  8. Re:Plenty of heads up. by krazytekn0 · · Score: 3, Insightful

    Really? I mean doesn't that seem a little extreme, shouldn't it still work pretty close to the previous versions of OS X? Seriously just asking,

    --
    Not all life is cyber. Extra Income
  9. What about servers? by andymadigan · · Score: 4, Interesting

    I don't see much use of Java on the desktop these days (aside from a few specific applications), but I certainly see it used a lot in server environments. I suppose Apple will also apply this to OS X server? So if you want an Apple server you can't run the applications you've been running up to this point? They're going to shrink their already small server share.

    Also, Slashdot, I set this account to use the "classic" interface, why are you making me click buttons to see comments now?! I just want to see the page, not have to keep clicking "show more". This comment entry box is terrible too, the "Reply" button is too close to the box itself.

    --
    The right to protest the State is more sacred than the State.
    1. Re:What about servers? by Fnkmaster · · Score: 3, Informative

      Slashdot briefly seemed to have forced everybody to the "Dynamic Discussion" mode this morning. I went to my account settings, turned it off, and it still showed up as on. Then a half hour later, I went back to Slashdot and everything seems to be working with the classic interface again.

      Anyway, it seems to have been a glitch in the matrix and all is back to normal now. An interface that only shows score-5 comments and makes you click 100 times to see more comments is just horrible. I hope that's not what "dynamic discussion" mode is. Ugh.

  10. Re:I'm curious... by Thomasje · · Score: 3, Informative
    Sun did not sue Microsoft for making their own JVM; they sued Microsoft for making an incompatible JVM, while using the Java trademark -- in direct and deliberate violation of the Java licensing terms.

    In short, Microsoft feared and sought to impede the development of network effects that cross-platform technology like Netscape Navigator and Java might enjoy and use to challenge Microsoft's monopoly. Another internal Microsoft document indicates that the plan was not simply to blunt Java/browser cross-platform momentum, but to destroy the cross-platform threat entirely, with the "Strategic Objective" described as to "Kill cross-platform Java by grow[ing] the polluted Java market."

    More...

  11. Re:Plenty of heads up. by JonySuede · · Score: 3, Insightful

    thing is apple did the first port, not SUN. I don't think that apple will graciously give there JRE code-base to oracle.

    --
    Jehovah be praised, Oracle was not selected
  12. So, is this a reason to drop Apple hardware? by dkf · · Score: 2, Insightful

    We have rather a lot of internally-developed applications in Java, and some of them are substantial. Since there's not a hope in hell of us porting millions of lines of Java code to Objective-C, no matter how much Apple spins things, should we be considering saying in future that Apple hardware is no longer a supported platform and that all users will have to migrate to Linux or Windows on their desktops and laptops instead? (While it is possible to use Apple hardware to run non-OSX, there's no real point in buying it specially for the purpose of running non-OSX when other hardware with a lower price premium will do a perfectly adequate job of it.)

    Mind you, adequate availability of a JVM for the platform from another vendor (e.g., Oracle) could well be an acceptable solution. It's just a shame that the announcement is not clearer in this respect. But then it's not exactly like Apple are very good at providing proper support for developers who aren't targeting Jobs's latest platform du jour.

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  13. Java banned from the Mac App store... by recoiledsnake · · Score: 5, Informative

    From the Mac App Store guidelines:

    2.24

            Apps that use deprecated or optionally installed technologies (e.g., Java, Rosetta) will be rejected

    --
    This space for rent.
  14. You are right.... by recoiledsnake · · Score: 3, Interesting

    From the Mac App Store guidelines:

    2.24
            Apps that use deprecated or optionally installed technologies (e.g., Java, Rosetta) will be rejected

    Looks like you're right.

    --
    This space for rent.
  15. Re:Plenty of heads up. by kthreadd · · Score: 4, Informative

    Java on the Mac have always been maintained by Apple, they licensed it about fifteen years ago from Sun. There has never been a Sun Java for Macs. I don't know how much code is going back to Sun/Oracle but in worst case that may be nothing at all. The main problem is that Java by itself has no support for things like the Mac Aqua UI, that's all additions made by Apple. In the late 90's when the Mac wasn't going well Apple decided to license Java and fix those things since Sun wasn't likely to put much time and effort on it. It's actually really good and well done.

  16. Re:Question by LDAPMAN · · Score: 2, Informative

    Apple did it with Suns approval and they didn't make changes that made it incompatible.

  17. Re:I thought JAVA was supposed to be crossplatform by characterZer0 · · Score: 3, Informative

    Binaries for the JVM are cross platform. The JVM itself is written for the platform. If you write a Java application and compile it on Windows, the compiled version will run on a JVM on Mac. But the Windows JVM will not run on a Mac.

    --
    Go green: turn off your refrigerator.
  18. Re:I thought JAVA was supposed to be crossplatform by Anonymous Coward · · Score: 2, Informative

    Java applications are supposed to be cross-platform, but the runtime environment has to be written for the host platform. It's not pure Java that's accessing files on the OS filesystem, opening sockets, painting dialog boxes on the screen, etc.

  19. Re:Plenty of heads up. by NatasRevol · · Score: 2, Insightful

    You might want to go read up on Grand Central Dispatch.

    --
    There are two types of people in the world: Those who crave closure
  20. Re:people... relax. by surgen · · Score: 3, Insightful

    Apple isn't going to 'stop supporting Java'.

    Actually, if the JVM goes back to being a 3rd party system on OS X, which it seems like it will, this is exactly what they've done.

  21. Re:Plenty of heads up. by Mr_Silver · · Score: 4, Insightful

    And why do you think Apple wouldn't give their code-base to Oracle?

    I don't think they will because I believe that Apple would rather developers use Objective-C over Java for OSX development for the very same reasons they would rather developers use Objective-C over Flash for iOS development.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
  22. Re:I thought JAVA was supposed to be crossplatform by petermgreen · · Score: 3, Informative

    Java is crossplatform in the sense that you should be able to run your java app* on any system with a compliant java implementation but someone still has to provide that implementation of java built on whatever interfaces the OS provides.

    Currently on the mac (unlike with windows and linux) apple provides the java implementation based on code licensed from sun (now oracle). If apple stops updating thier java implementation and doesn't either release the code or at least push it upstream to oracle then either java on the mac becomes ever more outdated or someone else redoes the porting.

    * provided the app is pure java and written properly.

    --
    note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  23. Re:App Store by TaoPhoenix · · Score: 2, Insightful

    However, if they pull through an App Store for the Mac, which doesn't even have the "it's on a Phone" excuse, they will have effectively succeeded in solving the 20+ year old problem of how to actually sell "shareware" aka "Free/Premium".

    --
    My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
  24. Re:Plenty of heads up. by tepples · · Score: 2, Interesting

    I believe that Apple would rather developers use Objective-C over Java for OSX development

    Then does Apple plan to provide a tool to automatically translate the back-end of an existing application written in Java into Objective-C so that it can be used as a first-class citizen on Mac OS X 10.7?

  25. Wait for the other shoe to drop... by itsdapead · · Score: 3, Insightful

    The $64,000 question is whether Oracle will now start offering a Java download for OS X - if so, then the Mac will have the same status as other platforms, where you get your Java VM from Oracle. Since Apple's Java releases have tended to lag quite a way behind Sun in the past that might not be a bad thing (although the downside is that the horrible Java auto-updater might make an appearance).

    OTOH, if Jobs is really determined to turn the Mac into an oversized iPad that can only run native software then, yes, there will have to be a bit of an exodous. However - there's no reason to decide right now (its not like Java is going to vanish from Mac tomorrow - and you weren't expecting the next version of Java to appear on Mac anytime soon, anyway).

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  26. Re:Plenty of heads up. by fusiongyro · · Score: 4, Informative

    Right, but Apple does ship versions of Python and Ruby that can access their Cocoa libraries. Apple would rather all developers use Objective-C, but that's just a way of ensuring that developers use Cocoa. Using Cocoa is what they're really after, technically speaking, because their real goal is for all Mac applications to use the same toolkit, look nice and behave like other Mac applications.

    I promise you Apple doesn't care if Swing applications look similar to Mac applications since they won't behave like Mac apps due to not running through Cocoa. I bet Apple would be happy if those apps just never ran on OS X. But they have in the past provided a way of using Cocoa through Java. Apparently the Mac Java developer community had enough of a clue to realize that using Cocoa is a great way to restrict your app to one platform and miss the whole point of using Java in the first place.

    Apple's special JVM was really just a way of trying to sneak Java developers into Cocoa, but it never really worked, so at this point, it's probably in Apple's best interest to just provide a stock JVM so people who really want to use Java can and let Oracle worry about whether or not Swing apps look like Mac apps. In general, Swing app usability is damning enough that Apple can just leave well enough alone and their customers will want Cocoa apps or Swing apps that have been engineered to look and behave a lot like Cocoa apps anyway.

  27. Re:Plenty of heads up. by TheRaven64 · · Score: 5, Informative

    NeXT jumped on the Java bandwagon early on, porting their flagship WebObjects framework from Objective-C to Java. When Steve returned to Apple, he planned to make Java a first-class citizen of OS X. The Apple JRE had a number of enhancements over the stock one. For example, it shared classes between JVM instances, a feature that didn't appear in the Sun JRE for a few years. It also included a lot of stuff for native integration - you could make the menu bar sit at the top of the screen from Swing apps, just like a proper Mac App and use the standard Mac keyboard shortcuts, for example.

    They also shipped an Objective-C to Java bridge. You could call the Cocoa APIs directly from Java programs with some low-level automatic translation letting you use Java strings and arrays instead of NSString and NSArray, for example. This was deprecated some time around 10.2 or 10.3 (I can't remember - Wikipedia probably can), largely because no one was using it. New Cocoa APIs were not added to the bridge.

    The idea that Java would be one of the dominant languages for OS X development died five years ago. Apple has only continued to invest money in their JRE to help sell XServes running OS X Server and running WebObjects. I'd imagine this market is now so small that it's no longer worth bothering with.

    --
    I am TheRaven on Soylent News
  28. Re:Plenty of heads up. by TheRaven64 · · Score: 3, Informative

    Do you have a point, or are you just spouting buzzwords? GCD is a set of C APIs that lets you schedule work to be run concurrently in thread pools whose size is managed by the kernel. It is completely irrelevant to writing a JVM, which will use its own N:M threading model with the kernel threads being implemented using POSIX threads.

    --
    I am TheRaven on Soylent News
  29. Re:I thought JAVA was supposed to be crossplatform by characterZer0 · · Score: 3, Funny

    Maybe he is here for all the non-technical political articles.

    --
    Go green: turn off your refrigerator.
  30. Re:Holes in the API coverage of 100% Pure Java by tepples · · Score: 4, Informative

    Why wouldn't a peripheral require a driver?

    The driver is already present on the machine and available to native code, yet the Java virtual machine is not aware of it.

  31. Re:I thought JAVA was supposed to be crossplatform by Mister+Whirly · · Score: 4, Funny

    Magic? No, computers run on magical smoke. I know because I have seen the magical smoke come out of computers before, and after that they do not work.

    --
    "But this one goes to 11!"
  32. Front-ends sharing a back-end by tepples · · Score: 2, Insightful

    cross-platform Java development and Mac development were different enough that if you were using Java it was because you wanted it to run on other platforms and therefore didn't care if it looked like a good Mac app.

    You, like numerous other Slashdot users, appear to have forgotten the model-view-controller or multi-tier paradigm. An application is split between a front-end, which interacts with the user, and a back-end, which interacts with the data. Ideally, an application would have a separate front-end per platform and a common back-end. I have applied this philosophy in one of my video game projects: the physics of the game world are the same in the PC version and the Game Boy Advance version because they build from the same source tree, but the front-end is very different. But in order for this to work, all platforms have to share a common language in which the back-end can be written.

  33. Re:Plenty of heads up. by NatasRevol · · Score: 2, Insightful

    Something tells me your missing the point.

    No other company did the work to take the browser from KHTML to webkit, which is now used in almost every phone OS, including Android & RIM.

    Apple gets shit all the time for being closed. They're not always. Examples: http://www.apple.com/opensource/

    --
    There are two types of people in the world: Those who crave closure
  34. And another benefit, IMO? by King_TJ · · Score: 2, Interesting

    Unlike the Windows versions of Java, you aren't regularly harassed to install "Yahoo Toolbar", or "Google Chrome" or some other piece of software along with every single update they try to push out to you!

  35. Re:Plenty of heads up. by TheRaven64 · · Score: 3, Informative

    The problem with this assumption is that Apple does not seem to have realized that a load of developers especially in the java land use OSX for java server side development

    Irrelevant. Those people can still use the Oracle JDK / JRE on their Macs. Most will probably prefer to, because they will no longer have the delay between Sun releasing a new version of Java and Apple porting their changes.

    --
    I am TheRaven on Soylent News
  36. Re:Plenty of heads up. by TheRaven64 · · Score: 2, Informative

    Did you actually read the second link? He's saying it doesn't make sense to implement anything in Java with GCD, although it might potentially make sense for some 1.7 extensions to be designed to use it.

    GCD implements an N:M threading model for C. The JVM implements an N:M threading model for Java, but with different semantics (more preemption points - GCD only has them between blocks, which gives a different throughput-to-latency trade). Implementing one in terms of the other does not make sense. It is marginally possible that the JVM could use some of the pthread_workqueue_* system calls to manage the Java thread to OS thread mapping, but probably not worth the effort.

    --
    I am TheRaven on Soylent News
  37. Re:Plenty of heads up. by ultranova · · Score: 3, Insightful

    I don't think they will because I believe that Apple would rather developers use Objective-C over Java for OSX development for the very same reasons they would rather developers use Objective-C over Flash for iOS development.

    I'm sure they would, but is it very likely that people are going to start doing OSX only development? Apple doesn't really have that much marketshare, and as this very incident once again shows, it's dangerous to trust them.

    If Mac loses Java, then Mac loses Java programs, not gain native ones. And frankly, Mac can ill afford to lose software.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  38. Re:I thought JAVA was supposed to be crossplatform by schmiddy · · Score: 3, Funny

    Couldn't Sun just write their JVM in Java, so that it could run on any platform without porting?

    --
    http://cltracker.net -- powerful craigslist multi-city search
  39. Re:Plenty of heads up. by wootest · · Score: 3, Interesting

    You're right that the people that Apple is now pissing off won't be queueing up to port their applications to Objective-C. But it's clear that Apple doesn't want to invest that kind of money in that kind of user experience and then have to support it. They're already well on their way to slough off Carbon completely.

    They want to settle on just one framework that they provide and support. (And yes, I said framework, not languages. There are supported bridges to Objective-C for Ruby and Python, and unsupported bridges in many other languages.)

    I would conserve my bewilderment until Apple starts making it impossible to do, say, Qt apps.

    And frankly, Mac can ill afford to lose software.

    My hunch tells me that there are more Cocoa applications than Java GUI applications, and even if that isn't strictly the case, that the number of people that are writing Java GUI applications each day are shrinking, and the number of people that are writing Cocoa applications each day are growing. (Yes, excluding iOS.)

    Mac as a platform doesn't have a ton of software compared to Windows, but that doesn't mean that this makes even a sizable dent in the installed applications that people use. Name one pervasive Mac Java application besides Eclipse and Vuze.

    (That doesn't mean that it's a valid reason to kill a Java runtime. But that sentence was discussing the impact, not the action.)

  40. Re:Plenty of heads up. by fusiongyro · · Score: 2, Insightful

    Qt is in most every way better than Java for client-side graphical application development. However, Qt is not completely free, requires that your app be compiled for each platform it is distributed for, and does not provide access to Java libraries. The last reason there is why we use it at my work.

  41. Re:I thought JAVA was supposed to be crossplatform by ThePhilips · · Score: 2, Interesting

    I'm not sure why this was modded funny. IIRC Apache Harmony is written mostly in Java with only bits of C code to bootstrap the JVM written in Java.

    --
    All hope abandon ye who enter here.