Searched everywhere, could not find a solution to my problem.
When I go to the directory after unpacking the binary version of Kafka (unpack it via terminal using the command tar -xzf), I try to start Zookeeper with the command (macOS Sierra):
bin/zookeeper-server-start.sh config/zookeeper.properties
I get the same error:
Error: Could not find or load main class config.zookeeper.properties
Download the latest binary version of Kafka (also tried earlier versions) - kafka_2.11-0.11.0.0.tgz - the result is the same - the same error.
In posts here write that the error in the downloaded version - source instead of binary. I only have binary.
Java version with the latest update (build 1.8.0_141-b15).
What could be the problem?
tar -xvf kafka_2.11-0.11.0.0.tgz
, thencd kafka_2.11-0.11.0.0
, and then runbin/zookeeper-server-start.sh config/zookeeper.properties
it starts fine on macOS Sierra – Hans Jespersenjava -version
report? – Hans Jespersen