openjfx is missing native libraries for webkit and media
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjfx (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
OpenJFX's media and webkit native libraries are missing from amd64 builds in Focal and Groovy. This is a regression from Bionic.
This prevents applications that depend on these libraries from working correctly.
[Test Case]
The libjfxmedia.so and libjfxwebkit.so should be present in the libopenjfx-jni binary for all archs.
One can see in the amd64 package listing for Focal [1,2] and Groovy [3,4] that libjfxmedia.so and libjfxwebkit.so are only available on arm64, armhf, ppc64el, and s390x.
[1] https:/
[2] https:/
[3] https:/
[4] https:/
Another possible test case is running pdfsam in the console to split a PDF file (after pdfsam bug 1887142 is fixed) and look if errors as:
Caused by: java.lang.
show up in the stdout. A sound should be played if everything works.
[Regression Potential]
Enabling the native libraries will allow applications to use them again.
* This can trigger errors in applications that hidden by the fact that there were no native libraries to use.
* This can cause applications that use OpenJFX to fail to run or crash during runtime.
It is unlikely that autopkgtest will detect such errors given that OpenJFX _did_ migrate when the native libraries were missing (and that should have caused errors).
[Other Info]
[Original Report]
I'm trying to run BlueJ on Ubuntu 20.04 (fresh install), while the main app runs the editor refuses to start, looking at its logs apparently it can't find jfxwebkit. So I tried to search for it, and apparently it is present in the other architectures for Focal as well as all architectures in Eoan, Bionic and Xenial in the libopenjfx-jni package, but not for Focal amd64. The version of openjfx I have is 11.0.7+0-2ubuntu1. I have also attached BlueJ's log for reference.
tags: | added: amd64 focal |
tags: | added: unmetdeps |
Changed in openjfx (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- libjfxwebkit not present in the package for Focal amd64 + openjdk is missing native libraries for webkit and media |
description: | updated |
tags: | added: groovy |
summary: |
- openjdk is missing native libraries for webkit and media + openjfx is missing native libraries for webkit and media |
Changed in openjfx (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |
tags: | added: regression-release |
tags: |
added: packaging removed: unmetdeps |
tags: | added: fr-757 |
I am having this exact same issue, BlueJ was working find up until I upgraded to 20.04. This is the relevant part in the log:
Exception in thread "JavaFX Application Thread" java.lang. UnsatisfiedLink Error: no jfxwebkit in java.library.path: [/usr/java/ packages/ lib, /usr/lib/ x86_64- linux-gnu/ jni, /lib/x86_ 64-linux- gnu, /usr/lib/ x86_64- linux-gnu, /usr/lib/jni, /lib, /usr/lib]
I need BlueJ for my class work. In the meantime is there any work around I could employ so I can keep on using Bluej?
Thanks.