A quick fix to this would be to post and resolve the comment on the PR - that way it doesn’t prevent auto-completion of builds.
I agree with @gregpakes that the task should search for the best version of Java - there are environment variables to enable that, i.e. JAVA_HOME_11_X64.
We are experiencing the same PR comments as well. Posting here @mickaelcaro to follow progress on improvements to this based on your last comment.
Having the SonarCloud task be able to identify where required Java version is installed would be ideal as our build agent already has Java 11 on it just not being used. (using MS-hosted Windows Server 2016 w/ VS 2017)