suse 8.0 & global classpath
I am trying to set my java classpath amongst a few other variables, I would like to set these globally for all users. I read to do it in /etc/profile but when I go to that file it has this:
-----------------------------------------------
# /etc/profile for SuSE Linux
#
# PLEASE DO NOT CHANGE /etc/profile. There are chances that your changes
# will be lost during system upgrades. Instead use /etc/profile.local for
# your local settings, favourite global aliases, VISUAL and EDITOR
# variables, etc ...
----------------------------------------------
but there is no file profile.local in the /etc/ directory so I made one and just added the line:
export $CLASSPATH=.:/usr/local/junit3.8.1/junit.jar:$JAVA_HOME/lib/tools.jar
restarted and it didn't work. Am I supposed to add some other script code somewhere, maybe at the start of the profile.local file? Is there a better way to globally set these variables?
thanks a lot
Rich.
|