Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start a Java project in Xcode?

Tags:

java

xcode

I am currently programming Objective-C in the Xcode IDE, and I understand it should also support Java projects. When I open the IDE and choose New Project, I don't find any project templates that correspond to Java. I have Snow Leopard, so I assume my Xcode is up-to-date.

How do I start a Java project in the Xcode IDE?

like image 651
John R Doner Avatar asked Jan 09 '10 20:01

John R Doner


1 Answers

I think what you want is a "JNI Library" project, which has the description "This project builds a Java JNI library with a bundled application wrapper." In Xcode 3.2, this project template can be found under Mac OS X > Framework & Library > JNI Library.

(Edit: This is what Apple officially recommends, too. See this document.)

like image 89
mipadi Avatar answered Sep 30 '22 22:09

mipadi