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

ComputerLauncher: Detection of AdoptOpenJDK 11 fails

    XMLWordPrintable

Details

    • 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

            mramonleon Ramon Leon added a comment -

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

            mramonleon Ramon Leon added a comment - Hi nitram , what's the problem here? Does it throw an IOException? could you please add the log? thanks!
            nitram 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.

            nitram 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.
            mramonleon Ramon Leon added a comment - PR filed: https://github.com/jenkinsci/jenkins/pull/4434
            oleg_nenashev Oleg Nenashev added a comment -

            It was fixed in 2.217. Thanks mramonleon!

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: