The June 28, 2022 release of Jenkins 2.357 requires Java 11 or Java 17. Java 8 is not supported with Jenkins 2.357 and later.
If you attempt to run with Java 8, the command will fail with the message:
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 Main.verifyJavaVersion(Main.java:143)
at Main.main(Main.java:107)
Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /home/mwaite/tools/jdk8u332-b09/jre
java.lang.UnsupportedClassVersionError: 52.0
at Main.verifyJavaVersion(Main.java:143)
at Main.main(Main.java:107)
See the Java 8 to Java 11 upgrade instructions for more details