JDK error installing bazel on the banana pi

1k Views Asked by At

When installing a bazel on a banana pi, this error appeared on this guide, what should I do?

ERROR: JDK not found, please set $JAVA_HOME.

1

There are 1 best solutions below

0
Remixt On

You need to install the JDK from the java website. If you already did then you need to set the environment variable on your machine to point to Java home.

https://docs.oracle.com/cd/E19182-01/821-0917/inst_jdk_javahome_t/index.html