launch4j

Launch4J - how to attach dependent jars to generated exe

眉间皱痕 提交于 2019-11-26 09:12:34
问题 I have a simple java project, which requires external jars. I build this with netbeans and after Clean and Build command, I can find in dist directory the following structure: -myApp.jar -lib/ library1.jar library2.jar typical, I would say. Now, I\'d like to distribute myApp.jar with dependent libraries as one exe. Is this possible? I am trying to use Launch4J. In the GUI I create the config file, there are some options in cp section <cp>lib/swing-layout-1.0.4.jar</cp> but it seems to be

How to bundle a JRE with Launch4j?

久未见 提交于 2019-11-26 03:54:07
I have Launch4J on my computer and it's a great program. One of its features I'm interested in is the ability to bundle a JRE in the general .EXE file. However, I can't find any documentation that describes how to go about doing this. How do I bundle a JRE with the EXE? Plus, where do I get a compact, portable JRE to run? The download links on Oracle are for the installer packages. After some attempts i finally get a workaround to bundle the jre in my application: I package my app as a zip file with the following folders inside: containerFolder |- jre |-bin (in bin there is java.exe) |-lib |-

How to bundle a JRE with Launch4j?

最后都变了- 提交于 2019-11-26 01:14:34
问题 I have Launch4J on my computer and it\'s a great program. One of its features I\'m interested in is the ability to bundle a JRE in the general .EXE file. However, I can\'t find any documentation that describes how to go about doing this. How do I bundle a JRE with the EXE? Plus, where do I get a compact, portable JRE to run? The download links on Oracle are for the installer packages. 回答1: After some attempts i finally get a workaround to bundle the jre in my application: I package my app as