Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2573 posts at DZone. You can read more from them at their website. View Full User Profile

Apple Shuns Java in Mac OS X

10.21.2010
| 26144 views |
  • submit to reddit
Apple continues to drive away Java developers and the Java platform itself today as news has come in that they will deprecate Java on Mac OS X.  Apple's Java runtime for Mac OS X 10.6 (Snow Leopard) update 3 and OS X 10.5 (Leopard) update 8 are deprecated, which means they won't be maintained at the same level as before.

It also seems likely that Apple will remove their Java runtime completely from the upcoming Mac OS X 10.7 (Lion) release and future releases.  However, the Java runtime that ships with Leopard and Snow Leopard will be supported and maintained until the end of their support cycles.  Apple's OS X 10.6 update brings the Java version up to 1.6.0_22.

The release notes give users instructions for installing third-party VMs, indicating that Apple is going to leave it to OpenJDK ports such as SoyLatte to make Java runtime builds for the Mac OS.  

IDEs

In the next year or two, we may not see Eclipse on Macs anymore.  This slow death could begin if Apple doesn't ship a JVM in Lion.  The other major IDEs, NetBeans and IntelliJ IDEA, will have an even tougher time staying on the OS because they rely directly on AWT and Swing.  A port of OpenJDK might use X11 instead of native OSX windowing components.

Alex Blewitt explains the Eclipse issues in more detail:

One of the key problems is that the OSX implementation of Java provides a number of Cocoa-specific bindings and hooks. Whilst Eclipse is based on top of SWT, and SWT uses the native widget set directly (rather than AWT and Swing which render their own), there are a number of hooks into the Cocoa layer to provide application-level services. Some of these have been extended in the redesigned eAWT package to permit Java applications to opt into user events (including the “sudden termination” which enables faster OS shutdown).  --Alex Blewitt

The Writing Has Been on the Wall

We saw Apple's declining enthusiasm for Java back in 2007 when Leopard was being released and PPC users were left with an old version of Java when 64-bit JVM development was halted.  It was a major shift from 2001 when Steve Jobs said Mac OS X was the best platform for Java development.

There was an article on Javalobby about the 2007 Java-Mac OS X events and at that time, Java Father James Gosling had already given up on Macs:

"As several people have noticed at my talks over the past few months, I no longer carry a Mac laptop. As much as I love the Mac's eye candy, it really hasn't been keeping up as a developer's machine - their attention has clearly been elsewhere.  Apple's JDK support is a part of my problem, and yes, I have their JDK6 from the ADC. I've met the folks on the JDK team and they're trying real hard. It's hard to tell what the fundamental issue is, but it keeps feeling like the big problem is that developers aren't the "Target Demographic"."  --James Gosling

While Apple hasn't explained its motivation for deprecating Java, possibilities might include problems with security, Apple's preference toward its own technologies, or what Gosling mentioned: demographics.  Today's news probably won't have a significant impact on Apple's sales, but there will probably be a number of Java developers looking to use another OS.

Does anyone use Mac for Java development?  How does this news affect you?

Comments

Sander Verbruggen replied on Mon, 2010/10/25 - 6:38am in response to: Charles (Ted) Wise

My point also. Although it's still an assumption that Oracle will pick it up, I think it's a good thing to be part of the same release cycle as other platforms. And who cares who delivers my JDK? I rather see that it's up-to-date, than that it's "from Apple".

I'm still keeping my MacBook because of all the other great apps, as long as someone steps up and maintains the JDK.

Claude Lalyre replied on Thu, 2010/10/28 - 7:05am

I think we should start an "affirmative action" against Oracle and Apple. As customers we have rights, we cannot be treated like this as if we were kids...

Jessie Mear replied on Wed, 2011/09/07 - 6:36am

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. java programmers

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.