Mac JNILIB Self-Contained DMG

Will Hoover java.whoover at
Tue Jan 22 11:34:29 PST 2013

Thanks Mark!

-----Original Message-----
From: Mark Howe [mailto:mark.howe at] 
Sent: Tuesday, January 22, 2013 1:31 PM
To: Will Hoover
Cc: openjfx-dev at
Subject: Re: Mac JNILIB Self-Contained DMG

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


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
> 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