我们有一个可执行JAR文件,有时包含其他JAR文件。(整个事情依赖于其他四个下载的JAR,骑在太空中部署的巨型海龟的背上。)在运行时,我们动态加载嵌套的JAR文件,执行以下操作://wearyinglyverboseerrorhandlingelidedURLnestedURL=the_main_system_classloader.getResource("path/to/nested.jar");Filetemp=File.createTempFile(....);//copyoutnestedURLcontentsintotemp,byteforbyteURLtempURL=te