How To Install openjfx on Fedora 36

In this tutorial we learn how to install openjfx in Fedora 36. openjfx is Rich client application platform for Java

Introduction

In this tutorial we learn how to install openjfx on Fedora 36.

What is openjfx

JavaFX/OpenJFX is a set of graphics and media APIs that enables Java developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms. The media module have been removed due to missing dependencies.

We can use yum or dnf to install openjfx on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install openjfx.

Install openjfx on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openjfx using dnf by running the following command:

sudo dnf -y install openjfx

Install openjfx on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openjfx using yum by running the following command:

sudo yum -y install openjfx

How To Uninstall openjfx on Fedora 36

To uninstall only the openjfx package we can use the following command:

sudo dnf remove openjfx

openjfx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/06e5395ca2fcb9757415e9be76c69344215aba
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/c8771180dd0136cefd8f0a6a16092f72264a8a
/usr/lib/.build-id/44
/usr/lib/.build-id/44/dfb1fc77bb7a57746f5bca05e1788a4f651092
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/f10459d901b51dfb116a3b8ea499d4c9ee996c
/usr/lib/.build-id/63
/usr/lib/.build-id/63/1d0b1ac20b7cd8722b301dda1786de89cb0f9e
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/e1ce6717b1f6fd55a0d984d9ab0e7bde929d1b
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/17675acf8a1df267aaf257cd256eb4a4612f7e
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/f788b2c1d1877909b9b061df525f14803fcd69
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/a3055a7fe04b58d51d5f883cdcbf83bcd0f5f7
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/98b8fdcb1849a8597acd561cf6bbfbb416affd
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/1b7474ba35119f2a89bc1cd74fae4c7f6f0601
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/24e46dfd676be5b07b6a221c75274963d3a935
/usr/lib/jvm/openjfx
/usr/lib/jvm/openjfx/javafx-swt.jar
/usr/lib/jvm/openjfx/javafx.base.jar
/usr/lib/jvm/openjfx/javafx.controls.jar
/usr/lib/jvm/openjfx/javafx.fxml.jar
/usr/lib/jvm/openjfx/javafx.graphics.jar
/usr/lib/jvm/openjfx/javafx.media.jar
/usr/lib/jvm/openjfx/javafx.swing.jar
/usr/lib/jvm/openjfx/javafx.web.jar
/usr/lib/jvm/openjfx/libdecora_sse.so
/usr/lib/jvm/openjfx/libglass.so
/usr/lib/jvm/openjfx/libglassgtk2.so
/usr/lib/jvm/openjfx/libglassgtk3.so
/usr/lib/jvm/openjfx/libjavafx_font.so
/usr/lib/jvm/openjfx/libjavafx_font_freetype.so
/usr/lib/jvm/openjfx/libjavafx_font_pango.so
/usr/lib/jvm/openjfx/libjavafx_iio.so
/usr/lib/jvm/openjfx/libjfxwebkit.so
/usr/lib/jvm/openjfx/libprism_common.so
/usr/lib/jvm/openjfx/libprism_es2.so
/usr/lib/jvm/openjfx/libprism_sw.so
/usr/share/doc/openjfx
/usr/share/doc/openjfx/README
/usr/share/licenses/openjfx
/usr/share/licenses/openjfx/ADDITIONAL_LICENSE_INFO
/usr/share/licenses/openjfx/ASSEMBLY_EXCEPTION
/usr/share/licenses/openjfx/LICENSE

References

Summary

In this tutorial we learn how to install openjfx on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).