Re: Kafka Compile JDK8

2016-04-18 Thread Kyle B
e requirements to enable emitting lambdas in Java 8 style." So unless you specify the above settings, it will by default compile all Scala code to Java 6 compatible bytecode. -Kyle On Sun, Apr 17, 2016 at 4:41 PM, Kyle B wrote: > Hello, > > I'm trying to build Kafka 0.9.0.1

Kafka Compile JDK8

2016-04-17 Thread Kyle B
Hello, I'm trying to build Kafka 0.9.0.1 using JDK8, so that it generates JDK8 compatible class files. However, no matter what I try, it seems the class files generated are for JDK6. I've tried setting sourceCompatibility and targetCompatibility to 1.8 to no avail. $ pwd