launch4j exe has nothing to say for itself, anyone got a suggestion?

前端 未结 2 1017
夕颜
夕颜 2020-12-29 14:05

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-de

相关标签:
2条回答
  • 2020-12-29 14:31

    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!

    0 讨论(0)
  • 2020-12-29 14:39

    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.

    0 讨论(0)
提交回复
热议问题