Thanks Nick for your email. Indeed I was packaging it incorrectly. Now I put
the jars in lib directory and and update my manifest file with
Class-Path: lib/poi-3.7-20101029.jar

It works now for me. I was thinking to package external jar files with the
developed code so end user does not need to download the external jar
files.. I will look on the web to achieve this.

Many Thanks,
rahul

On Wed, Mar 23, 2011 at 1:29 AM, Nick Burch <[email protected]> wrote:

> On Wed, 23 Mar 2011, rahul.soa wrote:
>
>> I am trying to build a jar file for my application which I developed using
>> Apache POI as below:
>>
>> D:\SPACE\TT>jar -cvfm DP.jar Manifest.txt *.class splashtest.gif *.jar
>> NewTemplate.xls
>>
>
> I'm not sure if this works - I don't think that jars inside jars are by
> default recursed into. Well, not without a fancy classloader anyway.
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to