hellos, I am trying to build pinot codebase using ...
# troubleshooting
a
hellos, I am trying to build pinot codebase using
docker-build.sh
and running into following issue. Any pointers on how to get around this issue :
Copy code
executor failed running [/bin/sh -c git clone ${PINOT_GIT_URL} ${PINOT_BUILD_DIR} &&     cd ${PINOT_BUILD_DIR} &&     git checkout ${PINOT_BRANCH} &&     mvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=${JDK_VERSION} -T1C &&     mkdir -p ${PINOT_HOME}/configs &&     mkdir -p ${PINOT_HOME}/data &&     cp -r build/* ${PINOT_HOME}/. &&     chmod +x ${PINOT_HOME}/bin/*.sh]: exit code: 1
Command I ran :
Copy code
./docker-build.sh
p
the default value of JAVA_VERSION is 8, and i am guessing you probably don't have java8 on your laptop.
a
I tried with Customizing JAVA_VERSION, still same error
p
Works for me with using java_version=11
Do you have Java 11 on your laptop?
a
Ah got it. My machine is on Java 12. That might be the reason