-
Improvement
-
Resolution: Fixed
-
Blocker
-
Jenkins 2.107.2, macOS 10.13.4, Oracle Java 10.0.1
Attempting to start Jenkins with 'java -jar jenkins.war' produces the following:
Jenkins requires Java 8, but you are running 10.0.1+10 from /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
java.lang.UnsupportedClassVersionError: 54.0
at Main.main(Main.java:128)
Reverting back to Jenkins 2.89.4 solves the problem of starting with Java 10.0.1. This exception is also thrown with Jenkins 2.119
- relates to
-
JENKINS-49737 Extras Executable WAR should warn everybody that Java 9 is not supported
-
- Resolved
-
[JENKINS-51155] Add flag which allows starting Jenkins with unsupported Java versions
Epic Link |
New:
|
Description |
Original:
Attempting to start Jenkins with 'java -jar jenkins.war' produces the following: Jenkins requires Java 8, but you are running 10.0.1+10 from /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home java.lang.UnsupportedClassVersionError: 54.0 at Main.main(Main.java:128) Reverting back to Jenkins 2.89.4 solves the problem of starting with Java 10.0.1. This exception is also through with Jenkins 2.119 |
New:
Attempting to start Jenkins with 'java -jar jenkins.war' produces the following: Jenkins requires Java 8, but you are running 10.0.1+10 from /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home java.lang.UnsupportedClassVersionError: 54.0 at Main.main(Main.java:128) Reverting back to Jenkins 2.89.4 solves the problem of starting with Java 10.0.1. This exception is also thrown with Jenkins 2.119 |
Link |
New:
This issue relates to |
Assignee | New: Oleg Nenashev [ oleg_nenashev ] |
Java 10 is not supported. Even if starts up with newer versions, as far as we know it cannot operate reliably. So it was an intentional change in
JENKINS-49737(https://github.com/jenkinsci/extras-executable-war/pull/14) to throw errors about that instead of starting up.Do older versions of Jenkins run well for Java 10 in your case?