openjfx is broken

Tumbleweed release : 20200831-678.1

Package : openjfx (11.0.8-1.2), openjfx-devel (11.0.8-1.2)

Issue : The JAR file javafx-graphics.jar is empty and has no javafx-*-linux.jar like the others. Unable to build any JavaFX projects. I am aware of the alternative of using the JavaFX from Gluon, but it would nice if this was fixed.

Hi and welcome to the Forum :slight_smile:
If you check the build log it’s there and the others, perhaps a different location that you are expecting?

https://build.opensuse.org/build/openSUSE:Factory/standard/x86_64/openjfx/_log


  432s] + ln -sf /usr/lib64/java/openjfx/javafx-graphics-linux.jar /home/abuild/rpmbuild/BUILDROOT/openjfx-11.0.8-1.2.x86_64/usr/share/openjfx/lib/javafx.graphics.jar
...
  433s] INFO: relinking /usr/share/openjfx/lib/javafx.graphics.jar -> ../../../lib64/java/openjfx/javafx-graphics-linux.jar (was /usr/lib64/java/openjfx/javafx-graphics-linux.jar)

Ah yes, there it is. I was expecting it to be under /usr/share/java/openjfx/ like the rest of them. Seems rather odd to have just that one JAR placed in /usr/lib64/openjfx while the rest are where they are expected.
Nevertheless, the proper way of using them seems to be using the symlinks under /usr/share/openjfx/lib/ [FONT=arial]which unfortunately don’t dereference properly if one is using an Eclipse flatpak. Symlinks work fine under regular Eclipse install using the Eclipse Installer.

Seems to be a flatpak issue after all and not the openjfx maintainer’s fault.

Thanks![/FONT]