简体   繁体   中英

How to make an EXE file consisting of JAR and JRE

I have a JAR file which runs with a global JRE installed on my computer. I need to package this JAR with JRE into 1 EXE file, so that I can run it on any other computer even when there is no JRE installed.

I don't want to use Launch4j plugin (because of the unsuitable license conditions (General Public License)) and I don't want to make any installer. I just need simple EXE runnable everywhere.

After lot of searching, I figured out that the easiest (and cheapest) way is to make an installer. I use Launch4j with Inno Setup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM