Export

Darryl Luff darryl at snakegully.nu
Mon Jan 12 19:55:01 UTC 2004


J.L. Coenders wrote:

>Hi all,
>Probably a stupid question, but to let my Java Runtime work, I have to 
>
>export PATH=/usr/java/j2re1.4.1_04/bin:$PATH
>
>After that it works, but now my problem:
>Linux work remember this and the next time I open a terminal window, I have to 
>type it again.
>Who can help me to let Linux remember this?
>
>Thanks,
>Jeroen
>
>
>  
>
To fix it for all users, look in /etc/profile.d. Create a file called 
java.sh that contains the commands you need. Also create a java.csh if 
you use the c shell.

To fix for a single user, put the commands in $HOME/.bash_profile.







More information about the fedora-list mailing list