launch4j exe 本身没什么好说的,有人有建议吗? [英] launch4j exe has nothing to say for itself, anyone got a suggestion?
问题描述
在 Linux 上运行,我使用 launch4j 打包了一个 exe.
Running on Linux, I've used launch4j to package an exe.
我将 exe 复制到我的 Windows 7 VM 中,然后运行它.
I copy the exe into my Windows 7 VM, and run it.
什么也没发生.
我用--l4j-debug 运行它,但仍然没有任何反应(至少,如果有日志文件,我找不到它).
I run it with --l4j-debug, and nothing still happens (at least, if there's a log file, I cannot find it).
这里是否缺少某些诊断技术?
Is there some diagnostic technology that I'm missing here?
推荐答案
创建一个控制台版本的 EXE(在标题"选项卡中,将标题类型"从GUI"更改为控制台")并从CMD 提示.
Create a console version of your EXE (in the "Header" tab, change "Header type" from "GUI" to "Console") and run that from a CMD prompt.
您很可能会在控制台中看到一条异常消息,这将解释您的应用无法启动的原因.
Most likely you will see an exception message in the console, and that will explain why your app is failing to start.
这篇关于launch4j exe 本身没什么好说的,有人有建议吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!