Unable to install Jenkins on CentOS Stream 8 machine

I have tried to install the Jenkins on CentOS Stream 8 machine using below steps but won’t be able to get it done. Getting below error

Error:
– Unit jenkins.service has begun starting up.
Dec 23 16:50:46 jump_host.stratos.xfusioncorp.com systemd[1]: systemd-journald.service: Failed to add fd to store: Operation not permitted

– Unit jenkins.service has begun starting up.
Dec 23 17:05:21 jump_host.stratos.xfusioncorp.com systemd[1]: systemd-journald.service: Failed to add fd to store: Operation not permitted
Dec 23 17:05:22 jump_host.stratos.xfusioncorp.com jenkins[57174]: Running from: /usr/share/java/jenkins.war
Dec 23 17:05:23 jump_host.stratos.xfusioncorp.com jenkins[57174]: 2023-12-23 17:05:23.243+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
Dec 23 17:05:23 jump_host.stratos.xfusioncorp.com sudo[57224]: thor : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl -xe
Dec 23 17:05:23 jump_host.stratos.xfusioncorp.com dbus-daemon[393]: [system] Activating via systemd: service name=‘org.freedesktop.login1’ unit=‘dbus-org.freedesktop.login1.service’ requested by ‘:1.1043’ (uid=0 pid=57224 comm="sudo journalctl -xe " label=“unconfined”)
Dec 23 17:05:23 jump_host.stratos.xfusioncorp.com dbus-daemon[393]: [system] Activation via systemd failed for unit ‘dbus-org.freedesktop.login1.service’: Unit systemd-logind.service is masked.
Dec 23 17:05:23 jump_host.stratos.xfusioncorp.com sudo[57224]: pam_systemd(sudo:session): Failed to create session: Unit systemd-logind.service is masked.

Below steps I have followed for the installation
sudo dnf update -y
sudo yum install wget -y
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate
sudo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
sudo yum install java-11-openjdk-devel
sudo dnf install jenkins -y
sudo systemctl enable jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins
sudo firewall-cmd --permanent --zone=public --add-port=8080/tcp
sudo firewall-cmd --reload

Can anyone please help here to resolve this issue.

You need to install Java 17:
Linux (jenkins.io)