I am using windows 10 and I already have java installed in my machine The JAVA_HOME user variable is set to C:\Program Files\Java\jre1.8.0_121\bin path and same path for environment variable.
I want to use Kafka in my machine for a project. I download kafka from the link http://www-us.apache.org/dist/kafka/1.0.0/kafka_2.11-1.0.0.tgz
I extracted it to my C drive in a folder named as Kafka. I made the changes in zookeeper.properties file for dataDir as C:/Kafka/kafka_2.11-1.0.0/zookeeper-data and I also made changes in server.properties for log.dirs as C:/Kafka/kafka_2.11-1.0.0/kafka-logs.
I opened cmd in C:\Kafka\kafka_2.11-1.0.0\bin\windows path and gave the following command in order to run the zookeeper server zookeeper-server-start.bat ....\config\zookeeper.properties
The cmd is giving me error message as The system can not find the path specified. This is all I am getting. Kindly guide me to fix it and help me to run kafka. Thanks
I solved the problem and now it is working fine. I mentioned JAVA_HOME path as C:\Program Files\Java\jre1.8.0_121\bin. It should be C:\Program Files\Java\jre1.8.0_121. Then there is no error. zookeeper started. kafka started. Thanks to those who tried.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments