There is no standard way of loading classes out of nested JAR files. Java JAR mechanism is just not designed for this use case. Custom Class Loaders can help, but a JAR source has to provide random file access, which is only provided by file system streams and memory buffering. Given this there are three options:
1. extract nested JAR files into temporary files (what most standalone-JAR tools do)
2. read nested JAR files to memory using a BufferedStreamReader (hit on performance and memory consumption)
3. extract all includes JAR files and avoid the problem (has license issues)
There is no standard way of loading classes out of nested JAR files. Java JAR mechanism is just not designed for this use case. Custom Class Loaders can help, but a JAR source has to provide random file access, which is only provided by file system streams and memory buffering. Given this there are three options:
1. extract nested JAR files into temporary files (what most standalone-JAR tools do) eader (hit on performance and memory consumption)
2. read nested JAR files to memory using a BufferedStreamR
3. extract all includes JAR files and avoid the problem (has license issues)