Sonar scanner picking JRE from .sonar/cache in Linux machine


Hi all, I am facing an error while scanning my code on Linux machine, here the sonar scanner picking JRE from .sonar/cache instead of the java installed the machine.
I am getting below error.

Can anyone help me to resolve this issue.
Thanks
Manish

Hi,

You may want to disable the JRE auto-provisioning. To do so, set the analysis property sonar.scanner.skipJreProvisioning to true.