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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            neha.bathra Neha Bathra Assign to me
            neha.bathra Neha Bathra
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment