I use Slackware but it should be the same for any linux if you use bash as your shell.

add somthing like:

export PATH=$PATH:/path/to/java/bin

to your .bash_profile or /etc/profile


Andrea Aime wrote:
Kent E wrote:

I know I did this once.. but it was in mandrake… now I want to know how to do it in redhat..???


It's the same I guess. In your home look for .bash_profile (.profile on Suse) and set the path in it so that at each login the path will be set (and remember to logout and login back to have it set).

Best regards
Andrea Aime



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to