setting classpath



Hi All,
I have to set many classpaths for compiling my java files. If I
concatenate all the paths and give a single command like

export CLASSPATH = $CLASSPATH:/......class paths here.........
it is giving an error like
ksh: p: not found

And if I give 4 paths at a time it is working fine. Is there any limit
on the size of the command.
I am using SunOS 5.8
So I thought it would be better to write a script and call it with out
giving this export command several times.
But my script file does not setting the CLASSPATH .
After executing the script the class path remains the same.
Please help me in solving my problem
Thanks
Vishnu

.



Relevant Pages