Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 416
user3025403 Avatar asked Mar 02 '14 17:03

user3025403


1 Answers

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.

like image 108
Swift Dev Journal Avatar answered Nov 09 '22 23:11

Swift Dev Journal