• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Urgent]Integerating Existing cocoa+c application with java through JNI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Urgent]Integerating Existing cocoa+c application with java through JNI


  • Subject: [Urgent]Integerating Existing cocoa+c application with java through JNI
  • From: "prashant sharma" <email@hidden>
  • Date: 23 Aug 2005 05:00:04 -0000

 

Hi,

I hv an existing cocoa+obj-c application made using Xcode 2.1.
I want to integerate this application with java using JNI, so that i can call it through java program and pass the parameters to java functions.

Using xcode, u can create Java-JNI application. However, in java jni application ur existing obj-c files is compiled in the form of library. If i port directly all the files to a new project created using Java-JNI application, and call the main method through java program, then it gives run time error (Info.plist file missing). This is because i am using nib file in the cocoa+obj-c application.

What i wanted to know is that a cocoa+obj-c application, which is using nib file also, and created using Xcode cocoa application project, can be converted in to a library or not ??(so that it can be called from java).

I think its not possible, if u r using nib file as u r creating executable application (though i am not sure). So i am trying to get away with nib file and NSApplicationMain function. In this way i can create a library.

Is this the write approach???

Regards,
Prashant



Regards
Prashant sharma
IIT kanpur

"You can't increase the length of ur life.. but u can increase its breadth and depth"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Question about private libraries in an Xcode project
  • Next by Date: Re: Question about private libraries in an Xcode project
  • Previous by thread: Can I use a global in one lib that's defined in another?
  • Next by thread: Significant number of chars in identifier
  • Index(es):
    • Date
    • Thread