Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Launch4j 的新手。默认情况下,它“包装”罐子,但有一个复选框显示“不包装罐子,仅启动”。
我什么时候应该勾选这个框?我什么时候不应该选中此框?
唯一的区别是勾选这个选项时,jar文件没有打包在生成的可执行文件里面,需要jar文件旁边。
因此,如果您想对用户隐藏 jar 并拥有单个可执行文件,则不应选中该框,如果您愿意将可执行文件和 jar 文件分开(如果您想更新例如,无需重新生成可执行文件的 jar 文件)。