我是launch4j的新手。我想使用launch4j创建exe文件。
我已关注此链接 lauch4j教程。
现在,我想使用 launch4j 在命令行中创建 exe 文件?
我试过以下命令,但它不起作用。
>launch4j.exe sample.jar
最佳答案
要在控制台模式下运行它,您需要使用 launch4jc.exe
(不是 launch4j.exe
)和饲料 config.xml
将其作为参数。
Docs :
To wrap a jar in console mode use launch4jc.exe and specify the configuration file.
关于launch4j - 如何在命令行中运行launch4j?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19418738/