Re: create a jar file with an external jar library
- From: Sigmund Hansen <sigmunha@xxxxxxxxxxxxxxxxx>
- Date: Thu, 01 Jun 2006 21:37:06 +0200
Luigi wrote:
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?
.
- Follow-Ups:
- Re: create a jar file with an external jar library
- From: Polzunov Sergei
- Re: create a jar file with an external jar library
- Next by Date: How to format text input/output?
- Next by thread: Re: create a jar file with an external jar library
- Index(es):
Relevant Pages
|
|