SonarQube 9.8 needs Java 11 but java application are still using Java 8 (warpper.conf is missing)

I am upgrading SonarQube from 8.9 to 9.8 using ZIP and it does not contain wrapper.conf file and has only file.
I am using Azure pipelines for code scan after the build task is successful.

My problem is the machines (Azure self-hosted agents) on which scan is running have default JAVA_HOME set to java8 because applications still use java8. (Java11 is also setup but not set as default)
And while scanning (with the help of azure task SonarQubeAnalyze@4) I get the below error

##[error]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
INFO: ------------------------------------------------------------------------
##[error]java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

How can I solve this problem without doing extra configuration at all the application side?
I was thinking to add below configuration in wrapper.conf file but SonarQube 9.8 ZIP does not come with this wrapper.conf file.{…java11 path}

Setting the required java version using the ‘env: {JAVA_PATH}’ in the ‘task: SonarQubeAnalyze’ works.