Senior Member
Join Date: Jul 2004
Location: Hampshire (the original one)
|
As an existing PC developer (but long time Mac user) I have decided to bite the bullet - twice - and start developing on the Mac and learn Java at the same time as my chosen language.
Can any Java developers out there suggest a site that specifically deals with teaching Java within the XCode environment? I could go down the Sun SDK route, but I kind of like the idea of using XCode to do it instead. Thanks in advance..... |
quote |
hustlin
Join Date: May 2004
|
You may have already done so, but don't neglect to also look into TextMate, Eclipse and NetBeans.
|
quote |
Senior Member
Join Date: Nov 2004
|
Yes, I would definitely use a Java-centric solution for Java coding. OS X programming and Java programming use mutually exclusive APIs since the death of the Cocoa-Java bridge. Use Xcode for Obj-C in OS X.
|
quote |
Veteran Member
Join Date: May 2004
|
Eclipse is rather designed specifically for Java development, but I've never been thrilled with (or happy, satisfied, content, or able to vaguely stomach) the UI.
Just as an aside - with the more or less complete break between Java and the Mac APIs, why are you thinking you can learn the Mac through Java? |
quote |
Senior Member
Join Date: Jul 2004
Location: Hampshire (the original one)
|
Quote:
Having quickly skimmed some notes on the Apple developer site, it reads as though Java application development is fully supported in XCode 3. Am I missing something here? I just installed XCode and it certainly seems to give the options of creating Java apps, but as I am unfamiliar with XCode I could be missing something obvious! I have installed Netbeans on my work PC, so I guess there's no harm in using Netbeans on the Mac too - plus obviously I'd then be using a common toolset on both Mac & PC. But it did seem like XCode offered a large and useful toolset. If anyone can explain why not to go down the XCode route, I'm only too open to suggestions! ...Also the comment above about there no longer being a Cocoa-Java bridge. What does that mean? Again, I got the impression that using XCode you could create very "OS X Native Looking" apps, but in Java. Last edited by Gizzer : 2007-12-05 at 06:57. |
|
quote |
Senior Member
Join Date: Nov 2004
|
While Xcode "supports" Java development, I have yet to talk to anyone that likes it or feels that it has adequate Java specific features, including myself. Personally, I use Netbeans for Java development as it has many Java specific development features built in. If you use Xcode you will only touch the most superficial portions of the IDE during Java dev, while missing out on the really nice Java development extras of a Java specific IDE. So you have more pain in development with less "learning of Xcode" than you might think.
And if your real goal is to become a Java coder, it will be more valuable to become a Netbeans expert where that knowledge is portable, than know a little Netbeans at work and a little Xcode at home. Use your two platform experience to concentrate on addressing potential differences in cross platform distribution. |
quote |
owner for sale by house
Join Date: Apr 2005
Location: Charlotte, NC
|
Another good idea (a lot better than NetBeans, IMHO) is eclipse. But the best choice is clearly the IDE the other developers at your company are using, since working with them will be easier when you all use the same one.
They do look like native programs, but they don't directly use the native interfaces. That's not necessarily a bad thing though, since the point of Java is platform independence, and you presumably want the code to also run on non-Macs (PCs or Unix servers). |
quote |
Senior Member
Join Date: Jul 2004
Location: Hampshire (the original one)
|
Thanks for your help. As I've installed NetBeans on the work PC, I've gone ahead and done the same on my Mac.
Sharing the same Dev environment certainly seems to make sense so I appreciate the advice. |
quote |
hustlin
Join Date: May 2004
|
Quote:
|
|
quote |
Senior Member
Join Date: Nov 2004
|
Quote:
You will have a flexible cross-platform application though, which is almost always a good thing. |
|
quote |
Veteran Member
Join Date: May 2004
|
Well, if that's your main requirement it is.
When working in an Eclipse/RCP app, I sorely miss *many* niceties of native OS X apps, primarily around text fields. It's really more like working in a Windows app with a skin, than anything. |
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling & Running Java? (on OS X) | MagSafe | Programmer's Nook | 6 | 2006-05-06 09:39 |
Very disappointed by my G5 and Java... | nicolas_bol | Apple Products | 69 | 2006-04-29 18:15 |
Java 2 Standard Edition 5.0 Release 4 now in software update! | Quagmire | Apple Products | 17 | 2006-04-25 10:19 |
Java 1.5 now on OS X | Jay | Programmer's Nook | 4 | 2005-12-09 07:29 |
iBook or PB for Java Development | bearclaw79 | Purchasing Advice | 7 | 2005-09-20 21:25 |