Hi Did you download the binary download or are you trying to build the source code and then run ?
With binary downloads, I have never had an issue. Another possibility is you have scala installed that is getting in the way. regards On Fri, Dec 15, 2017 at 1:54 PM, Karl Keller <stto...@hotmail.com> wrote: > Hello, > > I’ve been trying most of the afternoon to get Kafka installed and running > the basic quick start. > > I am running into the following errors related to firing up zookeeper. > From the kafka directory: > > Andreas-iMac:kafka_2.11-1.0.0 Andrea$ bin/zookeeper-server-start.sh > config/zookeeper.properties > usage: dirname path > Classpath is empty. Please build the project first e.g. by running > './gradlew jar -Pscala_version=2.11.11’ > > Then I went ahead and moved into the gradle directory, created the gradle > wrapper and then executed the suggested build command show below. I’m > stuck on the absence of the “jar” not being in the root project. > > Could you suggest a next step? Thanks - Karl > > Andreas-iMac:4.4 Andrea$ ./gradlew jar -Pscala_version=2.11.11 > > FAILURE: Build failed with an exception. > > * What went wrong: > Task 'jar' not found in root project '4.4'. > > * Try: > Run gradlew tasks to get a list of available tasks. Run with --stacktrace > option to get the stack trace. Run with --info or --debug option to get > more log output. Run with --scan to get full insights. > > * Get more help at https://help.gradle.org > > BUILD FAILED in 1s > -- http://khangaonkar.blogspot.com/