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.