Hello, everyone! I am starting proper command

~/project$ /usr/bin/dotnet sonarscanner end /d:sonar.login="admin" /d:sonar.password="user"

and got the java error on ubuntu 20.04.3


SonarScanner for MSBuild 5.2.2 Using the .NET Core version of the Scanner for MSBuild Post-processing started. Calling the SonarScanner CLI... Could not find 'java' executable in JAVA_HOME or PATH. The SonarScanner did not complete successfully 20:05:32.56 Post-processing failed. Exit code: 1

There are SonarQube 8.9.10 in docker and .net 5 tool sonarscanner 5.2.2.

JAVA_HOME and PATH was set to the same java elf dynamic shared object with chmod +x. What's wrong? Thank you.