lauch4j hello world program

送分小仙女□ 提交于 2019-12-06 05:53:35

You may not be in console mode.

From http://launch4j.sourceforge.net/docs.html

To wrap a jar in console mode use launch4jc.exe and specify the configuration file. launch4jc.exe config.xml

It turns out I finally spot the issue through trial and error...

When I add those lines: hello.HelloWorld hello.HelloWorld Everything works. It seems Launch4j can't find the main() if you do not specify it explicitly.

Thanks.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!