I think that is right. We set java.library.path in the launcher to be <bundle>/Contents/Java/ prior to launch. So I would include the libraries in the same way the jars and other assets are listed.
On Aug 10, 2014, at 9:20 PM, Tony Anecito <[email protected]> wrote: > 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 <[email protected]> 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
