Question
Cannot run a script as root user
Dear all,
I am facing an issue while I try to run the appian status.sh script as root user despite the ownership is root.
I am getting the following error:
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Any idea of how I can run it as root?
Thanks beforehand.
Kind regards,
