• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar file with in a jar file

 
Brian Percival
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this possible? I have a scenario where I have a third party jar file that I use in a package. I want to create a single jar file for both my package and also any third party jars I used in my package. what is my path of action for this?
Brian
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The class loader won't find the classes of jar files inside of jar files. You need to un-jar all of them, and create a single jar file that contains all library and applications class files.
 
Brian Percival
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
k thanks.. guess I will have to live with multiple jar files then
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15459
42
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might be of interest: One-JAR: Deliver your Java apps in a single JAR
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic