[
https://issues.apache.org/jira/browse/KAFKA-9034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manikumar resolved KAFKA-9034.
------------------------------
Fix Version/s: 2.6.0
Resolution: Fixed
Issue resolved by pull request 8481
[https://github.com/apache/kafka/pull/8481]
> 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
> Fix For: 2.6.0
>
>
> 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)