Just to add: good practice is to create a file /etc/profile.local which contains in one line the path settings for all users:
PATH=$PATH:/usr/local/bin:/usr/lib/jre/bin
(Better not to edit /etc/profile, this change gets overwritten easily, esp. when using SuSE) |