[英]How can you package an executable jar with a portable JRE?
I want to be able to distribute by executable JAR without having to make the user upgrade to the latest version of the JRE.我希望能够通过可执行 JAR 分发,而不必让用户升级到最新版本的 JRE。 How can I package a JRE into the JAR so that they can run the jar with no JRE installed on their system?
我如何将 package 一个 JRE 插入 JAR 以便他们可以在系统上未安装 JRE 的情况下运行 jar?
Put Java Portable in a sub-directory and launch your jar using a batch/bash script or Launch4j .将Java Portable放在子目录中,然后使用批处理/bash 脚本或Launch4j 启动 jar 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.