Git Product home page Git Product logo

Comments (7)

mjsax avatar mjsax commented on July 17, 2024

I am on different versions (on Mac):

$ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
$ scala -version
Scala code runner version 2.12.6 -- Copyright 2002-2018, LAMP/EPFL and Lightbend, Inc.

It compiles for me. Can you try a different Java/Scala version?

from kafka-streams-examples.

yonigibbs avatar yonigibbs commented on July 17, 2024

Excellent, that fixed it, thanks very much! I installed JDK 8 and swapped to use that, and the mvn cmd line now works.

Would you like me to mark this issue as closed, or keep it as an open issue because the examples didn't work for me on Linux on JDK 10?

Note, however, that the classes that are missing, as described in issue 144, are still missing when I open the project in the IDE (IntelliJ in my case). I'll add a comment to that issue.

from kafka-streams-examples.

mjsax avatar mjsax commented on July 17, 2024

\cc @ybyzek @miguno What is the goal for the examples? Should they work with Java10, too?

If yes, we might want to add Java10 to the build, too.

from kafka-streams-examples.

guozhangwang avatar guozhangwang commented on July 17, 2024

@yonigibbs I think your observed issue is due to scala 2.11.11 and below's plugin does not work well with Java10: scala/scala-dev#139 (comment)

from kafka-streams-examples.

guozhangwang avatar guozhangwang commented on July 17, 2024

@mjsax based on what I've got so far, we probably just need to document that if you're using J9+, you'd need to use Scala 2.12+.

from kafka-streams-examples.

guozhangwang avatar guozhangwang commented on July 17, 2024

Filed #167 for this.

from kafka-streams-examples.

yonigibbs avatar yonigibbs commented on July 17, 2024

Thanks for looking at this, @guozhangwang. I upgraded to 2.12.6 of Scala, but no luck I'm afraid: same error as above. I re-cloned the repo into a new folder in case that made a difference but it didn't.

However for my requirements it doesn't really matter: I just wanted to get the examples up and running, and using JDK8 instead of 10 for this is fine for me. So no need to re-open this case as far as I'm concerned.

Thanks again.

from kafka-streams-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.