Template for a good bug report, formatted with Markdown:
- versions used - 7.7
- error observed (wrap logs/code around triple quote ``` for proper formatting)
- steps to reproduce
- potential workaround
I am using sonarqube 7.7 and have JAVA_HOME set up as environment variable “C:\Program Files\Java\jre1.8.0_231”.
I am using VSTS and using Run Code Analysis step template.
Even set the path in wrapper.config file as well. But still getting the same issue
Calling the SonarQube Scanner…
2020-06-09T23:28:59.1323788Z ERROR: JAVA_HOME exists but does not point to a valid Java home
2020-06-09T23:28:59.1323788Z folder. No “\bin\java.exe” file can be found there.
This is the command in Run Analysis Code is:
Here is the command in prepare Analysis:-
D:\agents\02_work_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.10.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:Messaging.DataAccessService
I did installed JDK as well and tried the same thing.
It was working last week, just stop working this Monday.