Hatzenbeler, Tim wrote:
> I have a program I wrote, that requires the jt400.jar file, so I created a
> jar file, with my program, and included the jt400.jar file..

No, JAR files contain classes & other file resources that your
application requires.  It cannot contain another JAR file.

What you CAN do, however, is unjar the contents of JT400.jar, add your
classes in the appropriate package directories, and then repackage all
the classes into another jar file for your application.

The new jar will contain all the individual classes & resources from
JT400, plus the classes & resources from your application, so it will
have everything it needs.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.