Unable to set path in /etc/profile
edcogburn at hotpop.com
Sat Jul 23 20:15:11 UTC 2005
Irene Zimmermann wrote:
> Current version (5.04)
> Unable to modify global path in /etc/profile.
> Appended the following as a root user:
> export JDK_HOME JRE_HOME JAVA_HOME
> export PATH
> echo $PATH returns the original path after reboot.
Did you log out and log back in? Are you sure path isn't getting reset in
any files being read after /etc/profile ? Show us the entire /etc/profile,
and double check that your ~/bash_profile (or ~/.bash_login or ~/.profile)
isn't changing PATH again. If not sure, show us that file too.
More information about the ubuntu-users