VS Code | Getting started | Requirements
Requirements
On this page
Each IDE extension of SonarQube for IDE has its own requirements to work properly with the most recent releases.
Overview
SonarQube for VS Code needs a Java Runtime (JRE) 17+.
On the following platforms, SonarQube for VS Code comes with its own Java runtime:
- Windows x86-64
- Linux x86-64
- macOS x86-64 (Intel Macs) and arm-64 (Apple Silicon Macs)
On other platforms and if a Java runtime is already installed on your computer, SonarQube for VS Code should automatically find and use it. Here is how SonarQube for VS Code will search for an installed JRE (in priority order):
- the
sonarlint.ls.javaHome
variable in VS Code settings if set. For instance: { "sonarlint.ls.javaHome": "C:\Program Files\Java\jdk-17" } - embedded JRE for platform-specific installations
- the value of the
JDK_HOME
environment variable if set - the value of the
JAVA_HOME
environment variable if set - on Windows the registry is queried
- if a JRE is still not found then:
- the
PATH
is scanned forjavac
- on macOS, the parent directory of
javac
is checked for ajava_home
binary. If that binary exists then it is executed and the result is used - the grandparent directory of
javac
- the