Skip navigation

Java and Xcode 4

7968 Views 3 Replies Latest reply: Mar 24, 2011 11:39 PM by RedWolf RSS
coldcrow Level 1 Level 1 (0 points)
Currently Being Moderated
Mar 14, 2011 4:27 PM
I'm new to Xcode 4. I have some made some Java projects before for Android in NetBeans. Will it be possible to port over Java code easily to Xcode? Or can I only use Object C to code in Xcode 4?
  • etresoft Level 7 Level 7 (23,880 points)
    Currently Being Moderated
    Mar 14, 2011 5:33 PM (in response to coldcrow)
    You would probably have to setup a Makefile-based project for use with Java.
    MacBook 2007 (white), Mac OS X (10.6.6), + iMac 27" + iPad + MacBook Pro
  • Bob Lang1 Level 5 Level 5 (4,080 points)
    Currently Being Moderated
    Mar 20, 2011 1:34 AM (in response to coldcrow)
    Hi coldcrow

    You can code in Java with Xcode, but in a separate forum one of Apple's Java developers said that it is now only meant for small scale Java projects. If you've already got some experience with Netbeans then you might do better to continue with Netbeans and don't worry about Xcode.

    On a personal note, I used to be a keen on using Xcode for Java, but the support for the language declined over time, it never had a Java GUI designer, bits (like the debugger) stopped working properly, and projects that worked one day suddenly became deprecated and then stopped working. In the end, I lost patience with it and moved to Netbeans. I now have a collection of old Xcode Java projects dating back to 2004 that simply won't run any more; as and when I need to use them I now have to transfer them to Netbeans, and I wish I'd never started with Xcode. At least Netbeans is under continuous development and will always support Java.

    If any reading that mini-rant you still want to continue with Xcode for Java then I'll wish you good luck!

    Bob
    Mac Book, Mac OS X (10.6.6)
  • RedWolf Calculating status...
    Currently Being Moderated
    Mar 24, 2011 11:39 PM (in response to Bob Lang1)
    Since Apple is trying to remove itself from maintaining Java for OS X, any support there is now for Java in Xcode will likely disappear in a future version in the not too distant future.
    MacBook Pro, Mac OS X (10.6.6), 2x2 G5 (10.3.x)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.