bazel-steward icon indicating copy to clipboard operation
bazel-steward copied to clipboard

Configure Java used for running to remote_jdk

Open lukaszwawrzyk opened this issue 2 years ago • 1 comments

This project should not depend on java in the system for development and running tests. By default bazel uses remote_jdk (jdk that it downloads and stores somewhere) for building to have reproducible builds. However for running and tests it uses local_jdk, i.e. java installed in your system. We should configure the project to use known java version (11? 17?) for both building and running.

lukaszwawrzyk avatar Jan 20 '23 16:01 lukaszwawrzyk

Issue seems not to be resolved for @kamildoleglo setup. Maybe we need to explicitly specify some remotejdk_17 or something.

lukaszwawrzyk avatar Jan 26 '23 12:01 lukaszwawrzyk