Apache kafka not running on windows

I tried to run Apache kafka in windows but encountered issue

I used the

.\bin\windows\kafka-server-start.bat .\config\server.properties

but encountered error. The system cannot find path

C:\kafka>bin\windows\kafka-server-start.bat config\server.properties
DEPRECATED: A Log4j 1.x configuration file has been detected, which is no longer recommended.
To use a Log4j 2.x configuration, please see https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html#Log4j2ConfigurationFormat for details about Log4j configuration file migration.
You can also use the C:\kafka/config/tool-log4j2.yaml file as a starting point. Make sure to remove the Log4j 1.x configuration after completing the migration.
The system cannot find the path specified.

Read more here: Source link