Linked by Thom Holwerda on Wed 26th Jul 2006 17:33 UTC, submitted by anonymous
Mac OS X With the latest update to the ADC Reference Library, Apple has deprecated the entire Foundation and Application Kits for Java. Previously, it was stated that the Java-Cocoa bridge was still valid for learning purposes.
Order by: Score:
Not a surprise...
by jtfolden on Wed 26th Jul 2006 18:21 UTC
jtfolden
Member since:
2005-08-12

Maybe they just finally made it "official" or just updated the documentation (as seems to be the case online) but this doesn't strike me as "new news" entirely. I recall hearing similar way back when OS X 10.4 was released.

Reply Score: 1

About time!
by Phuqker on Wed 26th Jul 2006 18:22 UTC
Phuqker
Member since:
2005-07-17

I could never understand why someone would want to write Cocoa in Java. The disjoint between them is enormous. Cocoa is Objective C. The language and its capabilities pervade the entire framework.

I tried to write a Cocoa app in Java, but it was like trying to saw a coconut in half with a butter knife.

Edited 2006-07-26 18:23

Reply Score: 5

RE: About time!
by Tuishimi on Wed 26th Jul 2006 18:57 UTC in reply to "About time!"
Tuishimi Member since:
2005-07-06

Great imagery. ;) Bonus points for using the word "coconut".

Reply Score: 3

Angerman
Member since:
2006-05-05

There are good applications using java and cocoa. Cyberduck for example. Now what does this move mean for those projects? Will it kill them? This would be too sad!

just my $.02 worth of thought.

kindest regards,
Moritz Angermann

Reply Score: 5

Hey, maybe they'll do the smart thing...
by IkeKrull on Wed 26th Jul 2006 19:50 UTC
IkeKrull
Member since:
2006-01-24

And have people write their desktop apps in Mono instead...

Reply Score: 0

JonPryor Member since:
2005-07-29

Well, there is Cocoa#, a binding of Cocoa for use with Mono:

http://www.cocoasharp.org/

Reply Score: 1

ahmetaa Member since:
2005-07-06

you wish.. Apple backs Java big time, Java 6 for Mac (Intel ones..) will posiblly be released simultaneously with other OS'es..

Reply Score: 2

IkeKrull Member since:
2006-01-24

That was a joke. omg, does anybody seriously think that would be the 'smart' thing to do?

Reply Score: 1

BlackJack75
Member since:
2005-08-29

Java looks fine and works well on mac. But still I use regularly Cyberduck for example which is a great app but you still feel the java 'power tax' when running it. It takes a few more seconds to load especially. When I started writing my first mac app I didn't know objective C and I really wanted to do it in java. Luckily the APIs I wanted to use where not available to java (Core Image).

After a few months I am glad I couldn't write it in java and had to learn ObjC (really not hard, I took much longer to learn about Cocoa APIs). In java it would probably have become unbearbly slow and the project would have been abandonned by now. That would especially be true for a graphically intensive app that has too launch in a snap.

Reply Score: 1

vanfruniken
Member since:
2006-07-18

The only thing holding me back to use ObjC is a proper memory allocation scheme. Will the Java programmers doing Cocoa at least be compensated this way?

Reply Score: 2

vanfruniken
Member since:
2006-07-18

I am sure updating both the Java version and ObjC version of the API is wasteful for Apple.

My proposal to Apple is: drop API doc support for java, but KEEP the java bindings.

Most programmers are astute enough and already have a nodding knowledge of ObjC (Especially those who know Smalltalk).

I would be perfectly happy to have to read the ObjC API docs, if only I could continue using the java bindings.

Reply Score: 1

Garbage collection is the compensation
by WJMoore on Thu 27th Jul 2006 11:16 UTC
WJMoore
Member since:
2006-07-27

Obj-C is getting garbage collection, that's the compensation man gcc in 10.4 gives:

-fobjc-gc
Enable garbage collection (GC) for Objective-C objects. The
resulting binary can only be used on Mac OS X 10.5 (Leopard) and
later systems, due to additional functionality needed in the (NeXT)
Objective-C runtime.

Reply Score: 1