Bundle native libraries for Mac for JNA & JNI...

Tony Anecito adanecito at yahoo.com
Mon Aug 11 03:20:08 UTC 2014


Ok. I think the native libraries should be placed under MacOS folder in the app file say under a folder structure I define so my code can find it using a jna native call.
 
Iam still researhing it some more tonight.
 
Thanks,
-Tony 


On Sunday, August 10, 2014 9:09 AM, Tony Anecito <adanecito at yahoo.com> wrote:
  


Hi All,

I need to bundle Mac native libraries so that JNA and JNI can find them. I can not bundle inside a jar since JNA will not find them. But I want the native libraries to be found inside the .app file say in a lib folder.
Anyone know how to do that using javafx deploy ant scripts? Is there some special directory I have to setup like I do for icns?

Thanks!
-Tony


More information about the openjfx-dev mailing list