问题
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