Reputation: 27
i was following this step to download apache kafka into my device windows https://www.confluent.io/blog/set-up-and-run-kafka-on-windows-linux-wsl-2/
but when i did this bin/zookeeper-server-start.sh config/zookeeper.properties
i always stuck with this error Error Classpath is empty. Please build the project first e.g.
where my wrong at?
Upvotes: 1
Views: 8616
Reputation: 23
For wilndows commands we need put .
represents current directory
.\bin\windows\kafka-server-start.bat .\config\server.properties
Upvotes: 0
Reputation: 383
check the space between directories where you have downloaded your kafka. Remove space and run again
Upvotes: 1
Reputation: 191711
Sounds like you might have downloaded the Kafka sources (labeled src) rather than the binaries
Download the binary link for the desired Kafka version from here: https://kafka.apache.org/downloads
Upvotes: 8