Where are you using this command?
If you have a shell script that contains this command and you are running it, the new CLASSPATH will only be set in that shell (i.e. within the script).
If you want to have it set in your current shell, source your script rather than execute it.
e.g.
. yourScriptThatSetsClasspath
Damian