Maven insists JAVA_HOME is not defined correctly, unless I run it as sudo – Ubuntu
Ubuntu 22.04.1, newly updated from 20.04.5. When I try to build anything with Maven it complains: $ mvn -v The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point…