How to code in Java in Xcode 5.0.2 (on Mac 10.9.2)

10,194

Xcode hasn't shipped with Java project templates since version 3.1 or 3.2. If you want to use Xcode for Java, create an external build system project and tell the project to use the Java compiler or ant as the build tool.

You would be better off using something other than Xcode for Java development. Eclipse and NetBeans have better support for Java than Xcode does. The text editor TextMate 2 comes with a bundle that lets you compile and run Java programs from inside TextMate.

Share:
10,194
user3025403
Author by

user3025403

Updated on June 15, 2022

Comments

  • user3025403
    user3025403 almost 2 years

    I have the newest version of Xcode, which no longer supports Java natively. So I downloaded the Java 2013-005 Developer Tools from Apple and installed it. However, when I open Xcode, I still can't find the option to code in Java.

    Can anyone give me specific steps to create a Java project in the newest Xcode?