Saturday, April 23, 2011

Determining the current values of PATH and CLASSPATH

Unix

Type these commands in a command window:
echo $PATH
echo $CLASSPATH
If you get a blank command line in response to either of these, then that particular variable has no value (it has not yet been set).

Windows

Type these commands in a command window:
echo %PATH%
echo %CLASSPATH%
If you get the message "echo is on" for either of these, then that particular variable has no value (it has not yet been set).

No comments:

Post a Comment

Chitika