Setting classpath and executing shell script
Posted on 2004-08-23
I am present setting the classpath for java on a Solaris machine as:
While the above works fine, it lasts for only the current session and I would like to set it permanently into the environment. However the command
setenv CLASSPATH=/usr/java gives me a cmd not found error..
set env CLASSPATH=/usr/java executes ok but doenst do anything..
I tried a workaround by creating a shell script with the line
export CLASSPATH=/usr/java but executing the script doenst seem to do anything either..
Any suggestions ??