I am trying to set my PATH variable on my system so I don't have tp type in thewhole path any time I want to run a java program like so:
/usr/java/j2sdk1.4.2/bin/java myProgram
I went into my /etc/profile file and entered the following lines
PATH=$PATH:/usr/java/j2sdk1.4.2/bin
export PATH
when I open a terminal and type echo $PATH I don't see the new path that I added
can someone please suggest what I doing wrong.
Thanks