in Windows XP.
My Computer>(right click) property >(tab) Advanced >Enviornment
Variables >
where do i put my "CLASSPATH" variable ?
there are two options
1. user variables
2. System variables.
Both of them have a "New" button where i can make my classpath. which
one i should choose ?
any one.
i'm usually choose "System variables".
gk - 13 Dec 2005 07:19 GMT
should i type "CLASSPATH" or "classpath" ? which one ?
panhaidong@gmail.com - 13 Dec 2005 07:36 GMT
any one.
i like "CLASSPATH".
Roedy Green - 13 Dec 2005 08:17 GMT
>should i type "CLASSPATH" or "classpath" ? which one ?
set variable names are case insensitive. Many people use upper case
because that was the convention under DOS.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
gk - 13 Dec 2005 08:35 GMT
thank you
ricky.clarkson@gmail.com - 13 Dec 2005 14:42 GMT
I strongly recommend not to set a CLASSPATH environment variable.
This is the ideal situation:
C:\Documents and Settings\user>echo %CLASSPATH%
%CLASSPATH%
I'm surprised Roedy hasn't said this already, given [1] (which you
should read, gk).
[1] http://mindprod.com/jgloss/classpath.html#ANACHRONISM
>where do i put my "CLASSPATH" variable ?
>
[quoted text clipped - 3 lines]
>
>2. System variables.
If you put it in user, if you logon under any other id it won't see
the classpath. you can set up a different one for each user.
If you put it under system, then very user will see the common value.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.