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 Yuji Kumasaka <Y....@ecsys.intec.co.jp> on 2001/04/24 12:51:04 UTC
InvalidJarIndexException in 1.1b5
Hi All,
I try to jakarta-log4j-1.1b5.
I can't run test sample.
According to INSTALL file.....
> 1) First untar or unzip the distribution file.
>
> 2) Assuming you chose to extract the distribution in to the
> PATH_OF_YOUR_CHOICE, untarring the distribution file should create
> a jakarta-log4j-X.X directory, where X.X is the log4j version
> number, under PATH_OF_YOUR_CHOICE.
>
> 3) Add PATH_OF_YOUR_CHOICE\jakarta-log4j-X.X\classes to the CLASSPATH
> variable.
CLASSPATH changed
from
PATH_OF_YOUR_CHOICE/jakarta-log4j-X.X/classes
to
PATH_OF_YOUR_CHOICE/jakarta-log4j-X.X/classes/dist/classes
> 4) You can now test your installation. To do this issue the command:
>
> java org.apache.log4j.test.Hello
% java org.apache.log4j.test.Hello
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/InvalidJarIn
dexException
at org.apache.log4j.Category.<clinit>(Category.java:136)
at org.apache.log4j.test.Hello.<clinit>(Hello.java:20)
Can anyone please suggest ?
Best regards,
Yuji.
--
Yuji Kumasaka INTEC Communications, inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org