Re: create a jar file with an external jar library
- From: Polzunov Sergei <traut@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 02 Jun 2006 00:19:00 +0300
Sigmund Hansen wrote:
Luigi wrote:and what about dtd files for xml in jar files? i can make my jar works only when dtd directory in the same dir. But if i want to locate my dtd dir in jar?Hi,
in my application there are several import from an external library, in Eclipse i've added this library in Project -> Properties -> Java Build Path -> Add External JARs.
Well, when i export as a Jar file this "jade.jar" library is not in my jar file and the application cannot run.
I've tried even to manually modify the manifest.mf file adding the row: Class-Path: jade.jar (adding even the file in the jar)... but this is not a solution
Is there a solution?
I don't use eclipse, but the Class-Path does it just say jade.jar, or does it contain the path of the jade.jar?
Or else, then your jar and the jade.jar need to be located in the same directory.
The jade.jar should not be inside your jar file, if you want to put the library in your jar file, you need to extract the files in jade.jar and put them in your own jar file.
Are you sure the problem is the external library though?
.
- References:
- Re: create a jar file with an external jar library
- From: Sigmund Hansen
- Re: create a jar file with an external jar library
- Prev by Date: How to format text input/output?
- Next by Date: Dynamic array creation
- Previous by thread: Re: create a jar file with an external jar library
- Next by thread: How to format text input/output?
- Index(es):
Relevant Pages
|
|