Error: Missing or invalid JAVA_HOME env variable

(resolved by itselft)