简体   繁体   中英

Jar inside a lib project?

I wanted to know if it is possible to include an external jar inside my own library project of defined classes. Suppose I am using abc.jar and I have xyz.jar is there a way to pack xyz inside abc? so that my project/application has only one jar on the outside?

Yes, just create a Java Project and include all the libraries you wanted to use, build it then copy your built jar and import this to your current project and use it as xyz.* and abc.*.

:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM