Log4J appears to require the environment variable CLASS_PATH to point into
it. Remember to close your command line shell window and open a new one
after you set the path.

I set an additional environment variable, "LOG4J_PATH" to point to the
"jakarta-log4j-1.1.3" directory and then added
"%LOG4J_PATH%\dist\lib\log4j.jar" to the end of the CLASS_PATH variable.
Remember to separate multiple paths with semicolons, and check that current
working directory (".") is the first path in CLASS_PATH. Should look
something like this:

".;C:\3rd-party-lib.jar;%LOG4J_PATH%\dist\lib\log4j.jar"

(Some applications kindly clear the current working directory from the list,
or put their classes in front of it.)

Important -- check the java documentation about CLASS_PATH.

Joel Rees
Alps Giken Kansai System Kaihatsubu
Suita, Osaka

----- Original Message -----
From: "Smriti Talwar (ext 785)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 8:45 PM
Subject: installation?


> Hi,
>
> i've tried installing the 1.1.3 version of log4j on NT but am unable to
run
> this command-
>    java org.apache.log4j.test.Hello
>
> rgds-
> smriti
>
>
>
> **************************************************************************
> The information contained in this e-mail is confidential,
> may be privileged and is intended only for the use of the
> recipient named above. If you are not the intended
> recipient or a representative of the intended recipient,
> you have received this e-mail in error and must not copy,
> use or disclose the contents of this email to anybody
> else. If you have received this e-mail in error, please
> notify the sender immediately by return e-mail and
> permanently delete the copy you received. This email has
> been swept for computer viruses. However, you should
> carry out your own virus checks.
>
>
> Registered in Ireland, No. 205721. http://www.FINEOS.com
> **************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to