Can we control the JRE and Node.js versions that SonarQube Server provisions to scanners?

Versions

Component Version
SonarQube Server Enterprise Edition 2026.5.3
JS/TS analyzer JavaScript/TypeScript/CSS Code Quality and Security 13.9 (build 44793), bundled with the server

Deployment

Helm chart on Kubernetes, official sonarqube:2026.5.3-enterprise image, PostgreSQL. No custom image, and no JRE or Node.js settings in our Helm values.

What we are trying to achieve

Control, from the server, which JRE and which Node.js runtime are provisioned to scanners during analysis, so that we can keep them up to date for security reasons. This applies to all scanners and projects, not to a specific run.

For example, our server currently provisions this JRE to scanners:

JRE provisioned: OpenJDK21U-jre_x64_linux_hotspot_21.0.12.1_1.tar.gz

What we have tried so far

We reviewed the SonarQube documentation (JRE auto-provisioning, JS/TS analysis) and our own deployment configuration. We found no server-side setting to choose or override the JRE or Node.js version that scanners receive.

Question

Is it possible to control, from the server, which JRE version and which Node.js version are provisioned to scanners? If so, how? If not, is it planned?

Hey @manujimenez,

  • JRE auto-provisioning can be disabled at a global level: Administration > Configuration > General Settings > General > “Disable Scanner JRE auto provisioning”.
  • Node provisioning can be turned off on the scanner side by setting the sonar.scanner.skipNodeProvisioning prop/SONAR_SCANNER_SKIP_NODE_PROVISIONING env variable to true. However, there’s no global setting on the server side. I will flag this for our PMs to consider this.

Hi @andres, thanks for the quick answer and for flagging it to the PMs.

Just to make sure we understand it correctly: we can’t tell where the provisioned versions come from, so could you confirm the following?

  1. Node.js: is the runtime the scanner deploys (.sonar/js/node-runtime) the one embedded in the bundled JS/TS analyzer? If so, its version depends on the analyzer version that ships with each SonarQube release, and we can’t change it on the server side other than by upgrading SonarQube. Is that right?
  2. JRE: the same question for the JRE served to scanners. Is its version determined by the SonarQube release, with no server-side setting to choose it?
  3. Updating the analyzer on its own: is it supported to update the bundled JS/TS analyzer independently of the SonarQube version, to pick up a newer embedded Node.js? If not, is there somewhere we can follow which SonarQube release will ship which Node.js and JRE versions?

This helps us plan updates, since we are asked to keep both runtimes patched.

  1. Node.js: yes to all. It’s embedded in the analyzer and depends on which version of the anlayzer the server ships with. We don’t support any way to change it on the server side.
  2. JRE: yes, and same logic as Node. We ship it and you can’t change it on the server.
  3. It’s not supported to do that and it might result in failing analysis due to version/checksum mismatches. I’m not sure if there’s any documentation or source that you can follow to trace exactly the JRE and Node version in a given SonarQube version. I will try to find out.

If you want to run analysis with a specific JRE or a specific Node, for example to be ahead of our release in terms of patches, then what you should do is disable JRE provisioning and Node provisioning. The scanner will use JRE or Node executables available in the scanner’s environment instead, and these are under your control.

Hi @andres ,

Thanks again for your fast and detailed reply, it clarifies everything.

Also, appreciate that you could check this: source that you can follow to trace exactly JRE and Node version in a given SonarQube version. It would be very helpful for us.

Currently, there’s no server-side setting to control or swap out the JRE/Node.js versions that SonarQube provisions to scanners—they are bundled with the server and analyzer plugins.

If you have strict security policies regarding runtimes, the standard workaround is to manage the environment on your CI/CD runner agents directly and disable JRE auto-provisioning via sonar.scanner.skipJREProvisioning=true (or pointing sonar.nodejs.executable to your managed Node binary). Upgrading the SonarQube server itself is the only way to get updated bundled runtimes from Sonar. Make your way to the website https://wildtokyocasinos-aus.com/ to discover premium features and an attractive welcome offer.