[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: PATH changing in RH7.1
- From: teg redhat com (Trond Eivind Glomsrød)
- To: redhat-list redhat com
- Subject: Re: PATH changing in RH7.1
- Date: 01 Sep 2001 16:22:16 -0400
"John P. Verel" <jverel home com> writes:
> Sigh. I cannot believe I've forgotten how to do this :(
>
> I need to append /usr/java/jdk-1.3.1/bin to my path. I want it to be a
> global setting.
>
> My /etc/rc.d/re.local looks, in part, like this:
>
> PATH=/usr/java/jdk1.3.1/bin:$PATH
> export PATH
>
> (According to the Red Hat Reference Guide, rc.local should be the last
> thing run at boot time. Do I misunderstand this?)
Sure. But when you log in, the shell will source various other files.
The best thing to do is to create an /etc/profile.d/jdk.sh file adding
the environment you want.
> I run ximian Gnome, Red Hat 7.1. It is possible that path gets
> clobbered by gnome?
Ximian Gnome will have other bad consequences (not-quite-working
upgrades being one of them), but not that.
--
Trond Eivind Glomsrød
Red Hat, Inc.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]