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

ComputerLauncher: Detection of AdoptOpenJDK 11 fails

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.217

      Description

      The ComputerLauncher.checkJavaVersion seems to have a problem when using Adopt OpenJDK 11 on Windows Server 2012 R2.

      The command line java -version produces the following output:

      openjdk version "11.0.5" 2019-10-15
      OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
      OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
      

      I am guessing the date behind the version could be the issue.

        Attachments

          Issue Links

            Activity

            Hide
            mramonleon Ramon Leon added a comment -

            Hi Martin Karing, what's the problem here? Does it throw an IOException? could you please add the log? thanks!

            Show
            mramonleon Ramon Leon added a comment - Hi Martin Karing , what's the problem here? Does it throw an IOException? could you please add the log? thanks!
            Hide
            nitram Martin Karing added a comment -

            Ramon Leon: The issue appears when trying to start a windows slave that is supposed to run using the AdoptOpenJDK 11 version of java. When starting the slave the following messsage appears in the log:

            Couldn't figure out the Java version of java
            

            After that the slave does not launch.

            Show
            nitram Martin Karing added a comment - Ramon Leon : The issue appears when trying to start a windows slave that is supposed to run using the AdoptOpenJDK 11 version of java. When starting the slave the following messsage appears in the log: Couldn't figure out the Java version of java After that the slave does not launch.
            Hide
            mramonleon Ramon Leon added a comment -
            Show
            mramonleon Ramon Leon added a comment - PR filed: https://github.com/jenkinsci/jenkins/pull/4434
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It was fixed in 2.217. Thanks Ramon Leon!

            Show
            oleg_nenashev Oleg Nenashev added a comment - It was fixed in 2.217. Thanks Ramon Leon !

              People

              • Assignee:
                mramonleon Ramon Leon
                Reporter:
                nitram Martin Karing
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: