Re: JAR problem
From: Daniel Schneller (danny_reMo_ve_for__spam_Protection_schneller_at_bigfoot.com)
Date: 10/16/03
- Next message: Koen: "Re: Castor Exception : The prefix 'xml' is reserved"
- Previous message: David Zimmerman: "Re: Can't locate Javax"
- In reply to: Ajay Singh Tomar: "JAR problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Oct 2003 17:05:53 +0200
Hi!
> I have created a Jar file for my project with *.classes, lib folder and
> Manifest file.
Sounds good so far, except for the lib folder...
> I can run the Jar file successfully to get desired output from the same
> directory, I have created the Jar file from.
That is quite normal. Your application can read the jars from the lib
folder, i. e. *not* from the newly built jar file. You cannot nest jars
in jars. You have two alternatives:
- unpack all jars and repack them into a single one without an included
"lib" folder
- copy your lib folder *and* your own jar to the 2nd machine. You could
zip them together and make them self extracting.
Daniel
- Next message: Koen: "Re: Castor Exception : The prefix 'xml' is reserved"
- Previous message: David Zimmerman: "Re: Can't locate Javax"
- In reply to: Ajay Singh Tomar: "JAR problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|