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

The "java is not in the path" warning is show even though java is in the path

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      ssh-slaves-1.31.7

      Attachments

        Issue Links

          Activity

          Hide
          ahammar Anders Hammar added a comment -

          I suggest adding a check if java is in the path in SSHLauncher.launch() before JavaVersionChecker is used. If java is not in the path, emit the warning log message. But you still need to use JavaVersionChecker to keep the current guess java behavior. (The warning log in JavaVersionChecker should then be removed.)

          Show
          ahammar Anders Hammar added a comment - I suggest adding a check if java is in the path in SSHLauncher.launch() before JavaVersionChecker is used. If java is not in the path, emit the warning log message. But you still need to use JavaVersionChecker to keep the current guess java behavior. (The warning log in JavaVersionChecker should then be removed.)

            People

            Assignee:
            ifernandezcalvo Ivan Fernandez Calvo
            Reporter:
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: