Sridhar Guntur
10-18-2002, 05:04 PM
i have java's bin in /usr/java/j2sdk1.4.1.so i su - and put export PATH=$PATH:/usr/java/j2sdk1.4.1/bin
in etc/profile .and i did source /etc/profile once.and i could access java and javac commands in root account every time without doing source /etc/profile, but when i go to normal user accout, i have to do source /etc/profile every time to access java and javac . is there a way that i can avoid doing source /etc/profile everytime while in normal user account?
i have searched on net but they ask to do source or . (dot) /etc/profile but dont say if i have to do everytime in normal user mode.
thank you.
in etc/profile .and i did source /etc/profile once.and i could access java and javac commands in root account every time without doing source /etc/profile, but when i go to normal user accout, i have to do source /etc/profile every time to access java and javac . is there a way that i can avoid doing source /etc/profile everytime while in normal user account?
i have searched on net but they ask to do source or . (dot) /etc/profile but dont say if i have to do everytime in normal user mode.
thank you.