Re: environmental varianbles

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

 



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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux