Setting the path
Hello,
I run Peanut Linux 9.3 and I recently installed java (sdk1.4.0) and teTeX. To access the commands quickly, I added the bin directories of both to my PATH in my .bashrc file in my home directory. The PATH line in this file looks now something like this:
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/opt/kde3/bin:/usr/X11/bin:$OPENWINHOME/bin:/usr/local/bin:/usr/java/j2sdk1.4.0_02/bin:/usr/local/teTeX/bin:/usr/local/sbin:."
The path to the bin directories are correct, I checked that. But now, when I start my computer and log in and I open a terminal and type which java, then it says it can't find it (it then sums the path, everything except the two path's to teTeX and java). Then when I type su and my password in the terminal and switch to root and then switch back again, and again type which java, it does find the path. It's just as if it doesn't read the file at first. Does anybody know if I have to change other files as well?
Thanks for any help!
Remco
|