We’re trying to do a trial of sonarcloud but are having all kinds of bother getting our build agents to run the scanner.
Per subject line, we get this error despite having installed JRE, set the mentioned environment variable and rebooted. Must be missing something, anyone got any ideas what?
2018-10-25T11:07:39.1070116Z ERROR: JAVA_HOME not found in your environment, and no Java
2018-10-25T11:07:39.1070371Z executable present in the PATH.
2018-10-25T11:07:39.1070636Z Please set the JAVA_HOME variable in your environment to match the
2018-10-25T11:07:39.1070900Z location of your Java installation, or add “java.exe” to the PATH