[
https://issues.apache.org/jira/browse/ZOOKEEPER-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth resolved ZOOKEEPER-2281.
--------------------------------------
Resolution: Fixed
Thank you, Raul! I committed this to branch-3.4, and I'm resolving the issue
again.
> 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)