jkim@raspberrypi:~/tf/bazel $ sudo ./compile.sh INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile /path/to/bazel š Building Bazel from scratch ERROR: Cannot determine JDK version, please set $JAVA_HOME.\n $JAVAC_VERSION is "javac 11.0.15"
I tried setting it as follows
jkim@raspberrypi:~/tf/bazel $ JAVA_HOME="${JAVA_HOME:-$(readlink -f $(which javac) | sed 's_/bin/javac__')}" jkim@raspberrypi:~/tf/bazel $ echo $JAVA_HOME /usr/lib/jvm/java-11-openjdk-armhf
But the build still results in the exact same error.
Any advice you can offer?
This is by the way on Pi 3B+.
Steps to Reproduce
Hardware/Software Info
Please provide the following information about your Raspberry Pi setup:
Raspberry Pi model:
Operating System used:
Version of Python used:
SD card memory size:
Size of USB/other device used as swap (if building from source):
TensorFlow git commit hash (if building from source):
Describe the Issue
Followed all steps but ./compile.sh results in
jkim@raspberrypi:~/tf/bazel $ sudo ./compile.sh INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile /path/to/bazel š Building Bazel from scratch ERROR: Cannot determine JDK version, please set $JAVA_HOME.\n $JAVAC_VERSION is "javac 11.0.15"
I tried setting it as follows
jkim@raspberrypi:~/tf/bazel $ JAVA_HOME="${JAVA_HOME:-$(readlink -f $(which javac) | sed 's_/bin/javac__')}" jkim@raspberrypi:~/tf/bazel $ echo $JAVA_HOME /usr/lib/jvm/java-11-openjdk-armhf
But the build still results in the exact same error. Any advice you can offer?This is by the way on Pi 3B+.
Steps to Reproduce
Hardware/Software Info
Please provide the following information about your Raspberry Pi setup:
Relevant Console Output/Logs