[
https://issues.apache.org/jira/browse/ZOOKEEPER-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14910114#comment-14910114
]
Arshad Mohammad commented on ZOOKEEPER-2281:
--------------------------------------------
[~neha.bathra], create patch with --no-prefix option. for eaxmple {{git diff
--no-prefix >> ZOOKEEPER-2281-01.patch}}
> 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: server
> Environment: Windows
> Reporter: neha
> Priority: Minor
> Attachments: ZOOKEEPER-2281-00.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)