How To Install system-switch-java on Fedora 36

In this tutorial we learn how to install system-switch-java in Fedora 36. system-switch-java is A tool for changing the default Java toolset

Introduction

In this tutorial we learn how to install system-switch-java on Fedora 36.

What is system-switch-java

The system-switch-java package provides an easy-to-use tool to select the default Java toolset for the system.

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

Install system-switch-java 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 system-switch-java using dnf by running the following command:

sudo dnf -y install system-switch-java

Install system-switch-java 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 system-switch-java using yum by running the following command:

sudo yum -y install system-switch-java

How To Uninstall system-switch-java on Fedora 36

To uninstall only the system-switch-java package we can use the following command:

sudo dnf remove system-switch-java

system-switch-java Package Contents on Fedora 36

/etc/pam.d/system-switch-java
/etc/security/console.apps/system-switch-java
/usr/bin/system-switch-java
/usr/sbin/system-switch-java
/usr/share/applications/system-switch-java.desktop
/usr/share/doc/system-switch-java
/usr/share/doc/system-switch-java/AUTHORS
/usr/share/doc/system-switch-java/README
/usr/share/licenses/system-switch-java
/usr/share/licenses/system-switch-java/COPYING
/usr/share/licenses/system-switch-java/COPYING.icon
/usr/share/locale/ar/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/as/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ast/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/bn_IN/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/bs/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ca/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/cs/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/da/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/de/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/el/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/en_CA/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/en_GB/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/es/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/fa/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/fi/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/fr/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/gu/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/he/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/hi/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/hu/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/id/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/is/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/it/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ja/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/kn/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ko/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/mai/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ml/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/mr/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/nds/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/nl/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/or/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/pa/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/pl/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/pt/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/pt_BR/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ro/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ru/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/sk/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/sr/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/sr@latin/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/sv/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/ta/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/te/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/tr/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/uk/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/zh_CN/LC_MESSAGES/system-switch-java.mo
/usr/share/locale/zh_TW/LC_MESSAGES/system-switch-java.mo
/usr/share/pixmaps/system-switch-java.png
/usr/share/system-switch-java
/usr/share/system-switch-java/switch_java_boot.py
/usr/share/system-switch-java/switch_java_functions.py
/usr/share/system-switch-java/switch_java_globals.py
/usr/share/system-switch-java/switch_java_gui.py
/usr/share/system-switch-java/switch_java_tui.py
/usr/share/system-switch-java/system-switch-java.glade

References

Summary

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