[jfx15] RFR: 8250238: Media fails to load libav 58 library when using modules from maven central

Joeri Sykora sykora at openjdk.java.net
Fri Jul 24 08:20:30 UTC 2020

On Thu, 23 Jul 2020 21:40:05 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> When running a JavaFX application using the JavaFX modules from maven central, the native libraries are packed into the
> jar file, and then unpacked as needed by the JavaFX runtime. This fails for libavplugin-ffmpeg-58.so, because the entry
> for the `avplugin-ffmpeg-58` library is missing from the list of dependent libraries of `jfxmedia` in
> [NativeMediaManager.java](https://github.com/openjdk/jfx/blob/14-ga/modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/NativeMediaManager.java#L118).

I've tested on Ubuntu 20.04 and playing media files works again with this fix.


Marked as reviewed by sykora (Author).

PR: https://git.openjdk.java.net/jfx/pull/272

More information about the openjfx-dev mailing list