.Add Adoptium repository. See official https://adoptium.net/installation[docs] for more information.
[source, console]
----
sudo bash -c 'cat <<EOF > /etc/yum.repos.d/adoptium.repo
[Adoptium]
name=Adoptium
baseurl=https://packages.adoptium.net/artifactory/rpm/${DISTRIBUTION_NAME:-$(. /etc/os-release; echo $ID)}/\$releasever/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public
EOF'
----

.Install Temurin Java {compatible-javajdk}
[source, console, subs="attributes"]
----
sudo dnf install temurin-{compatible-javajdk}-jdk
----
