launch4j exe本身没什么可说的,有人有建议吗?

发布于 2024-08-18 02:50:40 字数 176 浏览 3 评论 0原文

在Linux上运行,我使用launch4j来打包一个exe。

我将 exe 复制到我的 Windows 7 VM 中并运行它。

但什么也没发生。

我用 --l4j-debug 运行它,但仍然没有发生任何事情(至少,如果有日志文件,我找不到它)。

我在这里缺少一些诊断技术吗?

Running on Linux, I've used launch4j to package an exe.

I copy the exe into my Windows 7 VM, and run it.

And nothing happens.

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

相思故 2024-08-25 02:50:40

创建 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.

倚栏听风 2024-08-25 02:50:40

.jar 文件必须是可执行 JAR 文件。确保它是并尝试使用可执行 jar 文件创建 .exe 文件。这应该可以解决!

The .jar file needs to be an executable JAR file. Make sure it is and try creating the .exe file with the executable jar file. This should solve it!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文