Open grepwood opened 2 months ago
Try using --tool_java_runtime_version=remotejdk_17. That should be what the scala compiler is hosted on. For what gets used during run and test, use --java_runtime_version=remotejdk_17.
(I think host_javabase and java_toolchain are both deprecated at this point).
I would like to use Java 17 but it keeps trying to use Java 11. How can I force rules_scala to stop trying to get older Java? I tried the following options:
and none of them work in the end. I'm on Bazel 6.5.0 btw.