You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Xu JianHai (Jira)" <ji...@apache.org> on 2019/10/31 12:06:00 UTC

[jira] [Commented] (KAFKA-9034) kafka-run-class.sh will fail if JAVA_HOME has space

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

Xu JianHai commented on KAFKA-9034:
-----------------------------------

new intellij java use "_" replace wiith blank space.

> 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
>            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)