Quote:
Originally Posted by asliyanage1984
when i run "echo $JAVA_HOME" in redhat linux machine is whows some java location. I need to know where is the JAVA_HOME setting saved.How can i find where is the exact location of settings?
|
Look in the files under /etc/profile.d/ if it's set globally, or in .profile .bashrc or .bash_profile in the user's home directory if it's set per user.