Depending on which Hadoop version you want to install, you may need to use an earlier Java version to package it. This can be done by temporarily changing the JAVA_HOME environment variable before running mvn package.
Yes, you are right. I didn't think of that use case, I just assumed people would have a compliant Java version already installed or set as the main one.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Depending on which Hadoop version you want to install, you may need to use an earlier Java version to package it. This can be done by temporarily changing the
JAVA_HOME
environment variable before runningmvn package
.In my case, instead of
I had to run
JDK11 is still in progress cwiki.apache.org/confluence/displa...
Yes, you are right. I didn't think of that use case, I just assumed people would have a compliant Java version already installed or set as the main one.