Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am trying to run kafka on windoes 10 but erros shows Error: Could not find or load main class Files\kafka\libs\activation-1.1.1.jar;C:\Program

Tags:

apache-kafka

I am trying to install and run kafaka locally but it is showing the error it could no load activation class enter image description here

like image 213
FEBIN MALIK Avatar asked Oct 16 '25 19:10

FEBIN MALIK


1 Answers

You have an unquoted path. Some where you have a path like C:\Program Files\Path\To\File.jar

It needs to be quoted as "C:\Program Files\Path\To\File.jar"

The other option is to put your Kafka installation into a simpler path e.g. C:\kafka\...

This is one of the old annoyances of Windows paths and some of the Apache Software Foundation "batch" files.

like image 106
Dave G Avatar answered Oct 19 '25 13:10

Dave G



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!