See https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/ for instructions and a video describing the steps
On Wednesday, September 14, 2022 at 10:06:19 AM UTC-6 slide wrote: > The latest weekly releases dropped support for Java 8, so you will need to > update to Java 11 at a minimum. You may need to look if there is a separate > yum package for Java 11 (e.g., if Java 8 is still the default in your OS, > then yum update java may not update to Java 11, it may just update to the > latest Java 8). > > On Wed, Sep 14, 2022 at 8:59 AM [email protected] <[email protected]> > wrote: > >> Here's what I did: >> >> yum update jenkins >> >> Here's what's happening trying to get version info after upgrade. Also >> won't start with systemctl start jenkins. >> >> [root@nd645bd001 ~]# /bin/jenkins -version >> Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion >> SEVERE: Running with Java class version 52, which is older than the >> Minimum required version 55. See >> https://jenkins.io/redirect/java-support/ >> java.lang.UnsupportedClassVersionError: 52.0 >> at executable.Main.verifyJavaVersion(Main.java:145) >> at executable.Main.main(Main.java:109) >> >> Jenkins requires Java versions [17, 11] but you are running with Java 1.8 >> from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre >> java.lang.UnsupportedClassVersionError: 52.0 >> at executable.Main.verifyJavaVersion(Main.java:145) >> at executable.Main.main(Main.java:109) >> >> Seems I need to upgrade java, but jenkins doesn't control java. Please >> advise. Should I just yum update java? >> >> Thanks, >> Eric >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Website: http://earl-of-code.com > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/987308da-c629-4352-996b-a87d1b195066n%40googlegroups.com.
