Wrapper fails to find (expected) Java if path contains consecutive semicolons

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.7 rc1, 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      Due to an undocumented behaviour of PathFindOnPath Win32 API function, directory list scanning is terminated once an empty directory name is found on the list.
      For Java Service Wrapper, this condition is met when the PATH variable contains at least two consecutive semicolons.

      This can have on of the following side effects:
      1. Java is not found at all.
      2. Java from Windows System directory is used instead of the one specified in path.

            Assignee:
            Przemek Bruski
            Reporter:
            Przemek Bruski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: