diff options
author | Dimitris Kavvathas <dimitris.kavvathas@sonarsource.com> | 2022-08-10 12:29:37 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-10 20:03:08 +0000 |
commit | df33da63fdc8a5e46183600f85801a120c2c9dca (patch) | |
tree | 9ca04e04105107251a4b03d3cc0017d0bdb7abe5 /server | |
parent | 5a0bc2b8089eff9fd713550a41c3a6c56ff49399 (diff) | |
download | sonarqube-df33da63fdc8a5e46183600f85801a120c2c9dca.tar.gz sonarqube-df33da63fdc8a5e46183600f85801a120c2c9dca.zip |
SONAR-17136 Add SONAR_JAVA_PATH env variable support for user-defined Java executable
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-docs/src/pages/setup/install-server.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index dc655a26fb8..7906e686a38 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -164,12 +164,12 @@ It is possible to overwrite the default Java executable by setting the environme #### Linux / MacOS ``` -SONAR_JAVA_PATH="path/to/java_home/bin/java" +export SONAR_JAVA_PATH="path/to/java_home/bin/java" ``` #### Windows ``` -SONAR_JAVA_PATH="C:\Program Files\java_home\bin\java.exe" +setx SONAR_JAVA_PATH "C:\Program Files\java_home\bin\java.exe" ``` ### Advanced Installation Features |