Note:
Java 1.8.x is deprecated in
the 22.10.0 release. Java 17.x has been added to all system build executor
templates. Oracle recommends that you upgrade any of your jobs that
currently use Java 1.8.x to this version.
Before changing a job's Java version, ask your organization
administrator to add the version you want to use in the job's build executor
template if you don't see the version already there. If an organization
administrator adds multiple version of Java to a build executor template,
users can select the Java version they want to use in a job from the job's
configuration page.
Instead of selecting Java, you could select Java 1.8.x (Graal
VM). GraalVM is a universal virtual machine for running applications written
in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala,
Groovy, Kotlin, Clojure, and LLVM-based languages such as C and C++. To
learn more about GraalVM, see
https://www.graalvm.org/docs/
.