Set Linux environment variables JAVA_HOME & PATH globally using /etc/profile
By Pauline Thompson at May 15 2022