Re: Persistent CLASSPATH

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

 



dan wrote:
I'm on Fedora Core 4 OS...
e.g. export CLASSPATH=/home/username
results in a *temporary* CLASSPATH.
If I close the terminal window and
open a new one the command
echo $CLASSPATH results in no CLASSPATH(!)

The command env shows that there is no CLASSPATH env variable. I guess I need to *add*
the env variable CLASSPATH for e.g. the username.
How do I do that?

Add the command to ~/.bash_profile

You will need to log out and back in again for this to take effect.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux