OpenJFX is the official open-source project that develops JavaFX,
a cross-platform application framework for developing and deploying
rich client applications that operate consistently across a diverse
set of platforms.
This package, together with OpenJDK 17 or later, provides everything
you need to develop a JavaFX application on Linux, including all
of the latest JAR files, native libraries, JMOD archives, API
documentation, and source code of JavaFX.
Java and OpenJDK are trademarks or registered trademarks of Oracle
and/or its affiliates.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install OpenJFX, simply use the following command: