美文网首页
Extract to the target JAR vs Cop

Extract to the target JAR vs Cop

作者: 寻找无名的特质 | 来源:发表于2022-12-24 09:00 被阅读0次
    • Extract to the target JAR: This option extracts all the class files of your external libraries to the JAR you’re creating. This single JAR will contain your class files and also the class files from your external dependencies. This option is recommended because handling a single JAR is easier than handling multiple. You can easily add it to your other programs and execute it with a double click.
    • Copy to the output directory and link via Manifest: This option copies your dependency JARs to the output directory and creates a link with your Java program using the manifest file. If you select this option, you should also specify a location where the manifest file needs to be created. This method is recommended if you have a lot of JARs, and particularly if any of them are signed. Signed JARs may not work properly when you extract the class files into the JAR. Therefore, it’s better to copy the JARs to the output directory and use them via the manifest file.

相关文章

网友评论

      本文标题:Extract to the target JAR vs Cop

      本文链接:https://www.haomeiwen.com/subject/wukiqdtx.html