[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: environmental varianbles



On February 23, 2004 12:35 am, Kalin Mintchev wrote:
> hi all..
>
> probablyt a stupid question:
>
> how do i make environmental variables to stick?
> if i do:
> export JAVA_HOME="/path/to/jdk"
>
> and then:
>
> # env
>
> i can see the java home defined. but if i log out and then log in again.
> $JAVA_HOME desappeared from the env list. the same with PATH and others..
> on rh8.0...
>
> thanks...


For global environments use /etc/profile, for user specific (in bash) use 
~/.bash_profile
-- 
Pete Nesbitt, rhce




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]