[ 
https://issues.apache.org/jira/browse/KAFKA-9034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083001#comment-17083001
 ] 

ASF GitHub Bot commented on KAFKA-9034:
---------------------------------------

sebwills commented on pull request #8481: KAFKA-9034 Tolerate spaces in 
$JAVA_HOME
URL: https://github.com/apache/kafka/pull/8481
 
 
   This allows kafka tools to work on Cygwin where $JAVA_HOME typically 
contains a space (e.g. "C:\Program Files\Java\jdkXXX")
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> kafka-run-class.sh will fail if JAVA_HOME has space
> ---------------------------------------------------
>
>                 Key: KAFKA-9034
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9034
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>         Environment: macOS
>            Reporter: Fenjin Wang
>            Assignee: Manasvi Gupta
>            Priority: Minor
>              Labels: easyfix, newbie
>
> If set JAVA_HOME to IntelliJ's java, bin/zookeeper-server-start.sh can't work 
> because the path has space in it.
>  
> {quote}export JAVA_HOME="/Applications/IntelliJ 
> IDEA.app/Contents/jbr/Contents/Home/"
> {quote}
>  
> We can fix this by quote "$JAVA" in the shell script according to: 
> [https://stackoverflow.com/a/7740746/1203241]
>  
> I can send a PR if you like.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to