I am on Mac and trying to generate Cobertura code coverage report but I am getting Could not find artifact com.sun:tools:jar:0
at the specified path /usr/local/Cellar/openjdk/15.0.2/libexec/openjdk.jdk/Content/Home/../lib/tools.jar
which is similar to [https://stackoverflow.com/questions/5616318/how-do-you-address-the-issue-of-a-missing-tools-jar-in-a-jdk-in-mac-os-x].
The weird thing is that when I go to: /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home/lib
, I still cannot see tools.jar
.
Secondly, I am not sure why the the error is showing 15.0.2
while the JVM has 11.0.6