Getting the below error, while starting the jenkins.
tried multiple times with removing and installing.
dowloaded jenkins repo and installed the java 11 version.
The current Jenkins version requires Java 17
For jenkins version LTS Jenkins 2.492.3 requires Java 17.
sudo yum install java-17-amazon-corretto-devel
it is working.
yes, finally after a lot of R&D got to know this. Thank you @mawinter69 .