Do I need to install Java 8 SDK to use Bazel Build to build C++ project? -
this question comes in 2 part:
from can see in https://github.com/bazelbuild/bazel/tree/master/src/main , bazel written in mix of c++, java , linux .sh files. not sure core java or c++. windows binary in release page .exe rather .jar, mean don't need java sdk if never need use bazel build java?
if first part false, has java 8 sdk, or java 8 jre suffice?
yes, need jdk, @ least jdk 8. of bazel written in java.
on platforms bazel self-extracting binary, on windows it's self-extracting .exe file. message see upon running bazel first time ("extracting bazel installation...") hints @ this.
edit: think jre not enough, if don't build java rules, haven't confirmed this.
Comments
Post a Comment