Comment 14 for bug 1877000

Revision history for this message
Carlo Luzi (carlo-luzi) wrote : Re: libjfxwebkit not present in the package for Focal amd64

I have work around this bug using a different OpenJFX distribution:

- Download JavaFX Linux SDK from Gluon ( https://gluonhq.com/products/javafx/ )
- Place the archive content in a suitable location (ex. /home/ubuntu/javafx-sdk-11.0.2/)
- Assuming the Java program is packed in a .jar file, start it from command line specifying the Gluon JavaFX library:

java --module-path /home/ubuntu/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.web,javafx.swing -jar yourprogram.jar

This is a base recipe, your mileage may vary.