You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Smriti Talwar (ext 785)" <Sm...@fineos.com> on 2002/02/11 12:45:47 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: installation?

Posted by Joel Rees <jo...@alpsgiken.gr.jp>.
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)" <Sm...@fineos.com>
To: <lo...@jakarta.apache.org>
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>