• 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
Re: May I pack java in a dylib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: May I pack java in a dylib?


  • Subject: Re: May I pack java in a dylib?
  • From: Will Mason <email@hidden>
  • Date: Thu, 27 Jan 2005 09:48:53 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

 
JNI is not going to help in this situation. JNI is for calling C functions from Java, and he wants to do the opposite, namely call Java methods using a C interface. It sounds to me like either doing a C wrapper for the Java or compiling the Java are the most sensible options.
 
Will

Ricky Sharp <email@hidden> wrote:

>I'm thinking about creating a C wrapper for the java stuff, but I'd
>prefer
>to access the code a bit more directly - if this is possible.

I'm pretty sure you'll need to go the JNI route to get this type of integration. There's an example of Cocoa (Obj-C based) to Java integration via JNI in:

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: May I pack java in a dylib?
      • From: Shawn Erickson <email@hidden>
References: 
 >Re: May I pack java in a dylib? (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: running bash script...
  • Next by Date: Re: May I pack java in a dylib?
  • Previous by thread: Re: May I pack java in a dylib?
  • Next by thread: Re: May I pack java in a dylib?
  • Index(es):
    • Date
    • Thread