Live data from Hacker News

Apple deprecates Java

developer.apple.com

41–50 of 277 posts

Re: Apple deprecates Java

#41
post #8

Does this mean that if you want to distribute a Java app bundle, you must package the JRE into it as a framework?

No, it means that Apple is not bringing Java 7 to OS X.

It doesn't prevent someone else from bringing Java 7 to OS X, nor does it mean that the existing support for Java 6 is going anywhere.

Re: Apple deprecates Java

#42
post #28

I wonder if putting the boot into the most straightforward cross-platform solution for desktop apps has anything to do with the proliferation of OSX Java apps with shoddy/un-maclike UX/UI or whether it's something to do with Oracle's recent moves.

I think it just means that Apple has no interest in bringing Java 7 to OS X. It certainly took them a long time to release Java 6.

Funny thing is, one of my favorite Mac apps was/is written in Java: Cyberduck FTP client.

Cyberduck is an open source app originally written using the Java/Cocoa bridge, then using some hybrid of Cocoa and Java. But the thing is, the end user has absolutely no idea that it's a Java application. The only reason I know it's written in Java is because I looked at their source code to see how they implemented Quick Look (before it was a public API), and boom, the damn thing's in Java! As a longtime hater of Java desktop apps, I was flabbergasted.

As far as I'm concerned, OS X was the only desktop platform where Java had any sort of chance for user acceptance, but it never caught on with developers. As such, Java has been effectively dead as an option for desktop development since OS X Leopard.

Re: Apple deprecates Java

#43
post #36

Earlier quoted context omitted.

is there such a proliferation? the only java app I use on the mac is cyberduck, and it is neither shoddy nor un-maclike

Had no idea Cyberduck is written in Java. If only all Java desktop applications are like this.

Oh, me neither! I really had to check this out.

The main point seems to be: They don't use any of the Java GUI frameworks. They instead use some Cocoa bindings.

See here: http://trac.cyberduck.ch/browser/trunk/source/ch/cyberduck/u...

Re: Apple deprecates Java

#44
post #25

Sounds significant, but how important is Apple/MacOS to Java?

Not really as significant as one might think. This is just Apple saying, "we're discontinuing our own, internally developed and maintained JRE/JDK." I don't know off-hand how far this diverges from Sun/Oracle Java or IBM Java though (maybe someone else can step up with that information). I didn't see anything saying that they would never distribute any JRE on Mac OS X though. They may just find someone else's JRE to…

If they help to maintain and distribute an alternative JRE (which could only really be OpenJDK, one would think) then it's good news for Java developers. On the other hand, if they don't distribute any and don't help to maintain it then it's a disaster. If the latter turns out to be true then I'd be pretty concerned if I was a Java developer (or if I used any of the JVM based languages).

Re: Apple deprecates Java

#45

Earlier quoted context omitted.

"Their" up and coming MacRuby platform? Is that a joke?

Might I say, "the up and coming MacRuby platform Apple has designs for"? At least a couple of the committers are Apple employees. But I misattributed the project as being "theirs", which apparently isn't true.

Eh, it's Apple's in any meaningful way. The project is led by Apple's Laurent Sansonetti, hosted by Apple's Mac OS Forge, and Sansonetti has said that MacRuby is intended to replace RubyCocoa, which is currently bundled with Mac OS X. MacRuby also recently started making improvements to Apple's BridgeSupport framework. I don't know how much more an open-source project like MacRuby could do to deserve to be called "Apple's."

Re: Apple deprecates Java

#46
So then what's the best way to do cross-platform development?

For all its faults, Java does deliver something that resembles the "write once, run anywhere" dream.

Any idea for a high-performance, cross-platform, native UI development stack? Is C++/Objective-C still the best option?

Re: Apple deprecates Java

#47

Speculative, but could this be an early preventative measure to keep JRuby from challenging their up and coming MacRuby platform?

That wouldn't make very much sense to me, given that Ruby 1.8.7 is a much more formidable "challenger" than JRuby will ever be.

Re: Apple deprecates Java

#48
post #9

Wait, I thought Oracle (Java's current owner) is Apple's friend, because of the lawsuit against Google's Android. Head spinning.

Corps are not people and treating them as such is setting oneself for disappointment. No friends, only interests.

Re: Apple deprecates Java

#49
post #8

Does this mean that if you want to distribute a Java app bundle, you must package the JRE into it as a framework?

No, it means that Apple is not bringing Java 7 to OS X. It doesn't prevent someone else from bringing Java 7 to OS X, nor does it mean that the existing support for Java 6 is going anywhere.

[deleted]

Re: Apple deprecates Java

#50
post #8

Does this mean that if you want to distribute a Java app bundle, you must package the JRE into it as a framework?

No, it means that Apple is not bringing Java 7 to OS X. It doesn't prevent someone else from bringing Java 7 to OS X, nor does it mean that the existing support for Java 6 is going anywhere.

Right, but, if you're writing an application that relies on Java 7, you now can't expect the user to already have it installed, so you have to bring an install of it along inside your bundle, unless you want to have to direct users to go to the JRE website before installation may proceed.
Post reply on HN