Create an exe with jar file AND resources

旧巷老猫 提交于 2020-01-11 13:44:27

问题


Is there a way to create an exe that includes a resources folder inside it? I am looking for something like mac's Application bundle package things. I also want the ability to write and read from files within the resources folder.


回答1:


If you build the jar with the resources inside it, then you can use launch4j to wrap it as an executable (for free!).

You'll still need the JRE, but otherwise it will act just like a normal .exe.



来源:https://stackoverflow.com/questions/10473194/create-an-exe-with-jar-file-and-resources

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