Hi Oliver, You need gradle 2.x to build Kafka.
Ismael On 27 Dec 2015 18:10, "Oliver Pačut" <oliver.pa...@gmail.com> wrote: I have Gradle 1.4, Groovy 1.8.6, Ant 1.9.3. I followed the included Readme. I cd'd to the kafka directory and just wrote "gradle". I also tried running "./bin/kafka-server-start.sh ./config/server.properties" And that gets me the error "Could not find or load main class Kafka.kafka" Oliver > What version of Gradle are you using and can you give the exact command > you're running? > > -Ewen > > On Wed, Dec 23, 2015 at 5:49 PM, Oliver Pačut <oliver.pa...@gmail.com> > wrote: > > > Hello, > > > > I am having trouble using Gradle to build Kafka. I get the error: > > > > > > FAILURE: Build failed with an exception. > > > > *Where: > > Build file '/home/user/Desktop/kafka/build.gradle' line: 163 > > > > * What went wrong: > > A problem occurred evaluating root project 'kafka'. > > > Could not find property 'ScalaPlugin' on project ':clients'. > > > > > > I've tried reinstalling gradle and re-downloading Kafka, to no success. I > > have trouble understanding what exactly I am supposed to do; what is the > > error. > > > > Thank You in advance and Merry Christmas, > > > > O.P. > > > > > > -- > Thanks, > Ewen