How to set classpath in Red Hat Linux7.3?
Bob Smith
slyders at ix.netcom.com
Mon May 10 14:41:28 UTC 2004
Edward King wrote:
>In Red Hat Linux7.3,how to display classpath? If I want to add one class into classpath,if it is need to write it into file,How to do it? Give detail command is better.
>Thanks
>
>
>
>
Assuming that you are talking about the Java classpath, use the
following to list the current classpath:
echo $CLASSPATH
To send it to a file:
echo $CLASSPATH > myclasspath.txt
-Bob
More information about the redhat-list
mailing list