Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2281

ZK Server startup fails if there are spaces in the JAVA_HOME path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.8, 3.5.2, 3.6.0
    • scripts
    • None
    • Windows

    • Reviewed

    Description

      Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable.

      if not exist %JAVA_HOME%\bin\java.exe (
        echo Error: JAVA_HOME is incorrectly set.
        goto :eof
      )
      
      set JAVA=%JAVA_HOME%\bin\java
      

      Attachments

        1. ZOOKEEPER-2281-00.patch
          0.5 kB
          Neha Bathra
        2. ZOOKEEPER-2281-01.patch
          0.4 kB
          Neha Bathra
        3. ZOOKEEPER-2281-02.patch
          0.4 kB
          Neha Bathra

        Issue Links

          Activity

            People

              neha.bathra Neha Bathra
              neha.bathra Neha Bathra
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: