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

ComputerLauncher: Detection of AdoptOpenJDK 11 fails

    • Jenkins 2.217

      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.

          [JENKINS-60678] ComputerLauncher: Detection of AdoptOpenJDK 11 fails

          Ramon Leon added a comment -

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

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

          Martin Karing added a comment -

          mramonleon: 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.

          Martin Karing added a comment - mramonleon : 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.

          Ramon Leon added a comment -

          Ramon Leon added a comment - PR filed: https://github.com/jenkinsci/jenkins/pull/4434

          Oleg Nenashev added a comment -

          It was fixed in 2.217. Thanks mramonleon!

          Oleg Nenashev added a comment - It was fixed in 2.217. Thanks mramonleon !

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

              Created:
              Updated:
              Resolved: