Add Java Development Environment 21#58
Conversation
|
Does it make sense to install the jdk? As bazel will do it redundantly anyway |
|
And if so, we need to discuss the exact version. Compare https://github.com/eclipse-score/dash-license-scan/blob/607e8f1879d9856e812746aa1a190bb0b598187a/src/dash_license_scan/jar.py#L31 |
Bazel actually used the |
No need to discuss, I can change it to 21. |
Some tools (specifically PlantUML in this case) require a JDK, hence we install it. Bazel's rules_java requires that JAVA_HOME is set appropriately, so we do that as well.
|
It's still jdk vs jre. And I still wonder why it's needed. Bazel will download it's own version anyway... which is 17 by the way 😆 |
Well now I am installing the JDK. Bazel was complaining that the Java in |
|
As discussed we want to move tooling from bazel to devcontainer. So let's include java. Optimizing jdk to jre is a separate topic. |
Some tools (specifically PlantUML in this case) require a JDK, hence we install it. Bazel's rules_java requires that
JAVA_HOMEis set appropriately, so we do that as well.