How To Install maven-local-openjdk17 on Fedora 36

In this tutorial we learn how to install maven-local-openjdk17 in Fedora 36. maven-local-openjdk17 is OpenJDK 17 toolchain for XMvn

Introduction

In this tutorial we learn how to install maven-local-openjdk17 on Fedora 36.

What is maven-local-openjdk17

OpenJDK 17 toolchain for XMvn

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

Install maven-local-openjdk17 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 maven-local-openjdk17 using dnf by running the following command:

sudo dnf -y install maven-local-openjdk17

Install maven-local-openjdk17 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 maven-local-openjdk17 using yum by running the following command:

sudo yum -y install maven-local-openjdk17

How To Uninstall maven-local-openjdk17 on Fedora 36

To uninstall only the maven-local-openjdk17 package we can use the following command:

sudo dnf remove maven-local-openjdk17

maven-local-openjdk17 Package Contents on Fedora 36

/usr/share/xmvn/conf
/usr/share/xmvn/conf/toolchains.xml

References

Summary

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