This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
sonar-scanner-cli
mirror of
https://github.com/SonarSource/sonar-scanner-cli.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
33
Wiki
Activity
Browse Source
SONARPLUGINS-1921 sonar-runner.bat fails when java.exe is found in the path but contains a space
tags/2.5-rc1
Fabrice Bellingard
12 years ago
parent
18ce02ea44
commit
7ff1124e09
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
5
0
src/main/assembly/bin/sonar-runner.bat
+ 5
- 0
src/main/assembly/bin/sonar-runner.bat
View File
@@ -16,6 +16,11 @@ if not "%JAVA_HOME%" == "" goto foundJavaHome
for %%i in (java.exe) do set JAVA_EXEC=%%~$PATH:i
if not "%JAVA_EXEC%" == "" {
set JAVA_EXEC="%JAVA_EXEC%"
goto OkJava
}
if not "%JAVA_EXEC%" == "" goto OkJava
echo.
Write
Preview
Loading…
Cancel
Save