Giter Site home page Giter Site logo

Comments (4)

RuVT avatar RuVT commented on June 22, 2024

I was having the same problem.
Just started to play around with all the hadoop stuff, I know Java but I'm by far not an expert in the language and all the tools that come with it, one of those tools is Maven.

So after a week of trying to build the code getting the same error I started to read more about maven and found this:
https://maven.apache.org/guides/mini/guide-using-toolchains.html

Long story short, if your are new to all this Maven+Java thing then you probably have not created the ~/.m2/toolchains.xml file as in the guide; once you created that file, Maven will use the path you specify there to look for the needed JDK version.

With the toolchains.xml file in place I'm now able to compile all the sub modules.

This is just a problem when you are a newbie ( like me 🤦‍♂️ ), is common knowledge so is not written in the instructions.

from hadoop-book.

RuVT avatar RuVT commented on June 22, 2024

I created a PR (#39 ) just to explicitly tell the toolchains.xml file part.
@tomwhite I know that this is just common knowledge, but a little hint can help a lot to the newcomers.

from hadoop-book.

patrickakak avatar patrickakak commented on June 22, 2024

I'm a newbie, can you show me how...

from hadoop-book.

god-friend avatar god-friend commented on June 22, 2024

I installed Open-jdk-8 then my problem was solved

from hadoop-book.

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.