You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/12/09 23:22:11 UTC

[jira] [Updated] (ZOOKEEPER-2281) ZK Server startup fails if there are spaces in the JAVA_HOME path

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth updated ZOOKEEPER-2281:
-------------------------------------
    Fix Version/s: 3.4.8

> ZK Server startup fails if there are spaces in the JAVA_HOME path
> -----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2281
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>         Environment: Windows
>            Reporter: neha
>            Assignee: neha
>            Priority: Minor
>             Fix For: 3.4.8, 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-2281-00.patch, ZOOKEEPER-2281-01.patch, ZOOKEEPER-2281-02.patch
>
>
> Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable. 
> {code}
> if not exist %JAVA_HOME%\bin\java.exe (
>   echo Error: JAVA_HOME is incorrectly set.
>   goto :eof
> )
> set JAVA=%JAVA_HOME%\bin\java
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)