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:45:11 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15049519#comment-15049519 ]
Chris Nauroth commented on ZOOKEEPER-2281:
------------------------------------------
The same patch applies cleanly to branch-3.4. I just retested with a build from branch-3.4, and the patch worked fine. [~rgs], may I commit this to branch-3.4 for inclusion in the future 3.4.8 release?
> 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)