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

ComputerLauncher: Detection of AdoptOpenJDK 11 fails

    XMLWordPrintable

    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

            nitram Martin Karing created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Labels java11-compatibility
            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.
            mramonleon Ramon Leon made changes -
            Assignee Ramon Leon [ mramonleon ]
            mramonleon Ramon Leon made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mramonleon Ramon Leon made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            mramonleon Ramon Leon added a comment -
            Show
            mramonleon Ramon Leon added a comment - PR filed: https://github.com/jenkinsci/jenkins/pull/4434
            mramonleon Ramon Leon made changes -
            Remote Link This issue links to "PR 4434 (Web Link)" [ 24302 ]
            fqueiruga Félix Queiruga Balado made changes -
            Labels java11-compatibility java11-compatibility triaged
            oleg_nenashev Oleg Nenashev made changes -
            Labels java11-compatibility triaged java11-compatibility lts-candidate triaged
            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 !
            oleg_nenashev Oleg Nenashev made changes -
            Released As Jenkins 2.217
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            olivergondza Oliver Gondža made changes -
            Labels java11-compatibility lts-candidate triaged 2.204.3-fixed java11-compatibility triaged

              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: