Home > Mac OS X > Apple Deprecates Cocoa Kits for JavaApple Deprecates Cocoa Kits for Java Submitted by anonymous 2006-07-26 Mac OS X 12 CommentsWith 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.About The Author Thom HolwerdaFollow me on Twitter @thomholwerda 12 Comments 2006-07-26 6:21 pm jtfoldenMaybe 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. 2006-07-26 6:22 pm PhuqkerI 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 2006-07-26 6:57 pm TuishimiGreat imagery. Bonus points for using the word “coconut”. 2006-07-26 7:21 pm AngermanThere 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 2006-07-26 7:50 pm IkeKrullAnd have people write their desktop apps in Mono instead… 2006-07-26 8:48 pm JonPryorWell, there is Cocoa#, a binding of Cocoa for use with Mono:http://www.cocoasharp.org/ 2006-07-26 8:52 pm ahmetaayou wish.. Apple backs Java big time, Java 6 for Mac (Intel ones..) will posiblly be released simultaneously with other OS’es.. 2006-07-26 10:02 pm IkeKrullThat was a joke. omg, does anybody seriously think that would be the ‘smart’ thing to do? 2006-07-26 9:05 pm BlackJack75Java 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. 2006-07-26 9:42 pm vanfrunikenThe 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? 2006-07-26 9:47 pm vanfrunikenI 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. 2006-07-27 11:16 am WJMooreObj-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.