How to get current values of PATH and CLASSPATH
Friday, July 24, 2009
PATH and CLASSPATH are very important for a computer program. They realy have the environment variables to easly run the programs. Lets see how we can get the details of the current PATH and CLASSPATH.
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).
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).
This Articles was posted on 2:39 AMFriday, July 24, 2009
|
Labels:
Info,
Java,
Linux,
Windows XP
|
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment