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

    • ssh-slaves-1.31.7

    Attachments

      Issue Links

        Activity

          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.)

          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

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

            Dates

              Created:
              Updated:
              Resolved: