Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 27, 2009, 11:19 PM   #1
TheMacintosh
macrumors newbie
 
Join Date: Jul 2009
Java: Eclipse vs. Xcode

So, I program all the time in Xcode (Cocoa, Objective-C) with Interface Builder. Now I'm getting interested in Java too, since it seems so simple.


The java course I took taught me to use the Eclipse IDE. I know that Xcode supports Java also, so which should I use?
TheMacintosh is offline   0 Reply With Quote
Old Jul 28, 2009, 12:35 AM   #2
Cinder6
macrumors 6502
 
Join Date: Jul 2009
I prefer Eclipse for Java. I like the way it shows errors on-the-fly, and I like the way its debugger handles object/variable visibility.
Cinder6 is offline   0 Reply With Quote
Old Jul 28, 2009, 07:20 AM   #3
craig1410
macrumors 6502a
 
Join Date: Mar 2007
Location: Scotland
I've been slowly getting to grips with XCode over the last few months as I am learning iPhone development. However, I have been using Eclipse for a number of years now for Java development and I like it a lot. I don't recall much of a learning curve getting to know Eclipse whereas XCode has a much steeper curve.

I always feel more in touch with my application when using Eclipse - with XCode I always feel a bit disconnected somehow. I know Apple have improved XCode a lot in recent years but they are still playing catchup with Eclipse in my opinion. I would say the same about Microsoft Visual Studio too - playing catchup with Eclipse.

I'd say start with Eclipse and then once you are up and running (a few days maybe) try an exercise in XCode and see what issues you find. Don't give up at first sign of difficulty though - ask for assistance with specific issues on this forum and then once you have resolved as many specific issues as possible then see what you are left with and whether you can live with it.

Cheers,
Craig.
__________________
MacBook Pro Retina 15.4", 2.3GHz, 16GB RAM, 500GB SSD; 24" Aluminium iMac, 2.4GHz, 4 GB RAM, 2 TB HDD
Time Capsule 500GB; iPhone 5 32GB Black/Slate; iPad Air 64GB WiFi
craig1410 is offline   0 Reply With Quote
Old Jul 28, 2009, 07:56 AM   #4
Zortrium
macrumors 6502
 
Join Date: Jun 2003
For Java, Eclipse hands down. Eclipse is first and foremost a Java IDE, and has all the bells and whistles (and will continue to do so). Xcode, on the other hand, is primarily for C/Obj-C/C++ development, and seeing as Apple likes to ignore the fact that Java exists, I wouldn't count on high-quality continued Java support in Xcode.
Zortrium is offline   0 Reply With Quote
Old Jul 28, 2009, 08:11 AM   #5
gumbyx84
macrumors 6502
 
Join Date: Dec 2008
Have to agree with everyone. Eclipse is just a better IDE for Java then XCode. Been using Eclipse for almost 7+ years for Java coding (for degree and personal work). Only issue I have had with it is that some community-made plug-ins don't work in OS X, but that is not the fault of the IDE.

While the IDE itself has a learning curve (but you get used to it fast), XCode is a great IDE for C\C++ programming. I prefer it to Eclipse's C/C++ environment (which, for me, is always a pain to try and set up). Also, XCode comes with a bunch of Apple exclusive libraries if you are going to be working on OS X apps (though Coca is the preferred means to programs said apps in).

Best way I can describe it is Eclipse was made for Java programming and XCode was made for C/C++ and Coca programming.
gumbyx84 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Xcode and java??? falconb Mac Programming 10 May 15, 2014 12:17 AM
Someone develop applications on Java using Eclipse on PPC? Franchute13 PowerPC Macs 1 Apr 11, 2014 04:23 PM
Should I use Xcode or Eclipse for Android development? moonman239 Mac Programming 28 Jan 28, 2014 01:40 PM
Xcode 5 vs Eclipse moonman239 iPhone/iPad Programming 1 Sep 21, 2013 08:19 AM
XCode 5 DP and Java Problem aquethys Mac Programming 0 Aug 28, 2013 09:59 PM

Forum Jump

All times are GMT -5. The time now is 03:24 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC