Kawthar,
I suspect your problem is not necessarily related to the length of the
classpath system variable, but rather to the presence of directory names which might
contain spaces (i.e. C:\Program Files\JavaSoft\... etc). In this case, a command line
like:
java -classpath %CLASSPATH% ... will expand into:
java -classpath C:\Program Files\JavaSoft\.. therefore the java.exe will only
interpret the classpath as being up to the first space (i.e. C:\Program !!!). To avoid
this, enclose the %CLASSPATH% variable in between quotes:
java -classpath "%CLASSPATH%" ....
Hope this solves your problem.
Liv
Liviu Tudor
Cimage Novasoft Limited
www.cimagenovasoft.com
[EMAIL PROTECTED]
Fax: +44 (0)1344 767701
Direct Line: +44 (0)1344 767759
Centennial Court, Easthampstead Road, Bracknell, BERKS, RG12 1JZ
end user v. A command unfortunately not implemented in most systems.
-----Original Message-----
From: Kawthar Bt M Sulaiman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 8:08 AM
To: [EMAIL PROTECTED]
Subject: Classpath in Win2K
I've setup my classpath in Win2K environment, but when
I type set classpath in my prompt window, it was not displayed
and got truncated. When I ran the program, it cannot find
my log4j classes. Is there a length limitation on setting the
classpath in Win2K?
Thanks,
--Kawthar
Confidential information may be contained in this e-mail and any files transmitted
with it ('Message'). If you are not the addressee indicated in this Message (or
responsible for delivery of this Message to such person), you are hereby notified that
any dissemination, distribution, printing or copying of this Message or any part
thereof is strictly prohibited. In such a case, you should delete this Message
immediately and advise the sender by return e-mail. Opinions, conclusions and other
information in this Message that do not relate to the official business of Maxis shall
be understood as neither given nor endorsed by Maxis.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]