Classpath

This question is realted to UNIX and Java.
I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS.

Is the command 'export PATH=...' the way to do it?
Thanks.

Yes, except that it would be CLASSPATH instead of PATH.

oh yeah... PATH is for the executables.... thanks.
BTW - will the changes remain also after the shell is terminated, for the next time I sign in?

that is the command if you're using bash or ksh. if you're using csh, then it'll be setenv CLASSPATH ...

The changes will not remain, if you want them to be set everytime you login, you can make changes to your shell startup files

Got it. thanks!