Hi team,

I need your inputs on an issue that I am facing with respect to the command:
sudo service nifi start
Background: I have installed Nifi in Amazon EC2 linux machine. I have
installed Java as well. When I run command as:
./nifi.sh start
I do not find issue. Nifi starts successfully.
But when I run command as:
  sudo service nifi start
It says JAVA_HOME not set.
Its not able to find out java.
Howveer, echo "$JAVA_HOME" gives the installed path

Please help me to sort out the issue.

Thank you,
Praveen

Reply via email to