The Next Great Thing: An Application Framework

Tom Eugelink tbee at tbee.org
Tue Feb 21 04:10:08 PST 2012


On 2012-02-21 12:36, Uclio Work wrote:
>
> Because they have hardwired the path where the native libs have to be placed. Therefore the usual OSGi approach, that is having the Bundle-NativeCode header in your manifest with the OSGi engine doing loading,  fails since the findLibrary of the OSGi ClassLoader can't resolve the location of the libs.

In JFXtras we've hacked around this (for the Maven support) by modifying the java.library.path, so the DLL's are found by JavaFX's loader. Not pretty, but it works.

Tom




More information about the openjfx-dev mailing list