One application I had been using required all classes to be in the same base hierarchy (Meaning jars could not be inside the jar or else it would fail) for whatever reason. Because I was creating my own application for others to use, I had no control over whether or not they had a fat jar or not, so I had to figure out a way to "fatten?" an already made jar.
One could use the JarFile and everytime they encountered a jar file, write the jar into its own file and do it over again; however, that feels like an absolute waste of memory and time to copy stuff over like that just to have access to the JarFile entry list
Ex: test.jar
-com.package
-main.class
-dependency1.jar
-com.depedency1
-test.class
and what was needed:
test.jar
-com.package
-main.class
-com.dependency1
-test.class