Thanks a lot for that. I must had done something wrong. I reinstalled gradle on OSX 10.11 using MacPorts, then recloned kafka and then followed the normal steps and it worked just fine.
On Thu, Jun 16, 2016 at 6:49 PM, Ismael Juma <ism...@juma.me.uk> wrote: > Hi Philippe, > > Building with Java 8 works for me. Can you please try `./gradlew clean > jarAll` instead? > > Ismael > > On Fri, Jun 17, 2016 at 12:23 AM, Philippe Derome <phder...@gmail.com> > wrote: > > > I will. > > > > thanks > > On 16 Jun 2016 1:30 p.m., "Eno Thereska" <eno.there...@gmail.com> wrote: > > > > > Hi Phil, > > > > > > Feel free to comment on that JIRA and re-open if necessary. > > > > > > Eno > > > > > > > > > > On 16 Jun 2016, at 17:02, Philippe Derome <phder...@gmail.com> > wrote: > > > > > > > > The issue had apparently existed and is apparently resolved, but so > far > > > it > > > > does not work for me: > https://issues.apache.org/jira/browse/KAFKA-2203 > > . > > > > > > > > I issue same command as Stevo Slavic with JDK 1.8.0_91: > > > > gradle clean jarAll > > > > > > > > java -version > > > > > > > > java version "*1.8.0_91*" > > > > > > > > Java(TM) SE Runtime Environment (build 1.8.0_91-b14) > > > > > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) > > > > > > > > > > > > Much of it builds save for the examples, which incidentally is what I > > am > > > > mostly interested in. > > > > > > > > > > > > :core:jar UP-TO-DATE > > > > > > > > :examples:compileJava > > > > > > > > warning: [options] bootstrap class path not set in conjunction with > > > -source > > > > 1.7 > > > > > > > > > > > > > > /Users/philippederome/workspace/kafka/examples/src/main/java/kafka/examples/Consumer.java:19: > > > > error: package kafka.utils does not exist > > > > > > > > import kafka.utils.ShutdownableThread; > > > > > > > > ^ > > > > > > > > > > > > > > /Users/philippederome/workspace/kafka/examples/src/main/java/kafka/examples/Consumer.java:28: > > > > error: cannot find symbol > > > > > > > > public class Consumer extends ShutdownableThread { > > > > > > > > ^ > > > > > > > > symbol: class ShutdownableThread > > > > > > > > > > > > > > /Users/philippederome/workspace/kafka/examples/src/main/java/kafka/examples/SimpleConsumerDemo.java:19: > > > > error: package kafka.api does not exist > > > > > > > > import kafka.api.FetchRequest; > > > > > > > > Phil Derome > > > > > > > > >