Mac JNILIB Self-Contained DMG

Mark Howe mark.howe at oracle.com
Tue Jan 22 10:31:21 PST 2013


Hi Will, I will look into this and get back to you

Mark

On Jan 3, 2013, at 9:56 AM, Will Hoover wrote:

> I would like to get some feedback on best practices for including a JNILIB
> in a self-contained JavaFX application (with bundled JRE using <fx:deploy>).
> In Windows we can use a drop-in DLL resource by including
> /package/windows/runtime/jre/bin/some.dll to be included in the bundled JRE,
> but on a Mac I'm not sure what the correct approach would be. I was thinking
> of something like:
> 
> <fx:platform>
>    <fx:jvmarg value="-Djava.library.path=/some/path/to/lib"/>
> </fx:platform>
> 
> ...but that seems like it would be a bit clunky.
> 
> Is there a way to do this on an OSX build that is similar to the Windows
> approach (i.e. in /package/macosx/runtime/jre/bin/some.jnilib)?
> 
> 



More information about the openjfx-dev mailing list