Fenjin Wang created KAFKA-9034: ---------------------------------- Summary: 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
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)