Create an exe with jar file AND resources

2019-03-06 12:05发布

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条回答
beautiful°
2楼-- · 2019-03-06 12:38

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.

查看更多
登录 后发表回答