$JAVA_HOME and $PATH
I'm trying to get java installed on my system. I have already chosen to us the SUN version. I need to know whichj file the PATH variable is defined in. I tried adding the following to the rc.local file.
export JAVA_HOME=/usr/java.j2re1.4.2
export PATH=$JAVA_HOME/bin:$PATH
But when I echo those variable, I get the output that I would have gotten if I hadn't added the lines the the rc.local file.
When I type the command in manually at a prompt, everything works fine.
Is rc.local the wrong file? What file is the PATH variable initially defined in?
PS.
I run RH 8.0
Last edited by magnum818; 09-30-2003 at 09:09 PM.
|