Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51155

Add flag which allows starting Jenkins with unsupported Java versions

      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

          [JENKINS-51155] Add flag which allows starting Jenkins with unsupported Java versions

          William Beebe created issue -
          William Beebe made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]
          William Beebe made changes -
          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
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-49737 [ JENKINS-49737 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Labels New: java10_hackathon
          Oleg Nenashev made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Oleg Nenashev made changes -
          Summary Original: Jenkins 2.107.2 fails to start with Java 10.0.1 on macOS 10.13.4 New: Add flag which allows starting Jenkins with unsupported Java versions
          Oleg Nenashev made changes -
          Component/s New: extras-executable-war [ 23023 ]
          Oleg Nenashev made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            oleg_nenashev Oleg Nenashev
            wbeebe William Beebe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: