Closed krish7919 closed 8 years ago
Weird, it compiles fine for me (I added that change).
~/dev/kafka-mesos (master) $ ./gradlew clean jar
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
:clean
:compileJava UP-TO-DATE
:compileScala
:processResources UP-TO-DATE
:classes
:compileTestJava UP-TO-DATE
:compileTestScala
[ant:scalac] Element '/Users/sniemitz/dev/kafka-mesos/out/gradle/resources/main' does not exist.
:processTestResources UP-TO-DATE
:testClasses
:test
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
:jar
BUILD SUCCESSFUL
Total time: 33.203 secs
What version of java/scala are you using? In any case though, I have a pull request out already that'll remove that code.
Edit: looks like String.join was added in java 8, I guess you need that to build?
I have:
~/kafka⟫ java -version
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Well, I built it using java7 from the releases tag and I am ok for now. I can create a PR for upgrading the install doc to mention java 8; it currently says OpenJDK 7 or higher. However, I would like to know if that is really required; can we not use String.join and save a version change for current users?
It's not really required, using that method was an oversight. I already have an open pull request #233 that removes the need for it.
This should be fixed now, want to give master another try?
This works now with openJDL 7. :+1:
I had to check out the latest release for successful build.