hey..all.. I know I am replying to this...after a long time....
But there's one thing....
There's no specific thing CALLED PATH in /etc/profile....
its a file with some code....
What I did is this....
first wrote these two sentences in /etc/profile
Code:
PATH="$PATH:/usr/java/j2sdk1.4.2_08/bin:"
export PATH
then as said by tim1235, I wrote
Code:
source /etc/profile
so..now I have it in my PATH variable......
I hope this wud help ppl who wud search ...for this...