Open physicsman opened 7 years ago
When trying to build Bazel: ERROR: JDK not found, please set $JAVA_HOME. Fixed with: https://www.raspinews.com/installing-oracle-java-jdk-8-on-raspberry-pi/
Raspberry 3 with Raspbian Stretch Lite
Please provide the following information about your Raspberry Pi setup:
this occurred for me on a Raspberry Pi 2 as well, OS was Ubuntu Mate
fixed via
sudo apt-get install default-jdk
sudo update-alternatives --config java
note the path, and assign it to $JAVA_HOME
$JAVA_HOME
When trying to build Bazel: ERROR: JDK not found, please set $JAVA_HOME. Fixed with: https://www.raspinews.com/installing-oracle-java-jdk-8-on-raspberry-pi/
Raspberry 3 with Raspbian Stretch Lite
Please provide the following information about your Raspberry Pi setup: