Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

classpath

Thread view: 
gk - 13 Dec 2005 06:55 GMT
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 ?
panhaidong@gmail.com - 13 Dec 2005 07:03 GMT
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
Roedy Green - 13 Dec 2005 08:16 GMT
>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.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.