Please advice why when I login as a root and start env command I have 40 lines output, but I don't have there JAVA_HOME. Each time when I restart server I have to rebuild
because after rebooting it's disappear from env output.
As I understand, all root's environment information has to be stored into /.profile, but this file doesn't exist.
When I try
find / -name ".profile*"
system found only 3 ./skel/.profiles but no one real
How to modify root's .profile file and put there JAVA_HOME permanently