ERROR! You do not have the Java Runtime Environment installed, please install Java JRE from https://adoptopenjdk.net/?variant=openjdk11 and try again

I figured out that the JAVA_HOME / PATH variable that I set in the /etc/profile can not be get in the run.sh script.
But I don’t why…