将Jre与Install4J捆绑 [英] Bundle Jre with Install4J
问题描述
我已经使用Maven依赖关系下载了JRE(jre-x64-1.8.0_40.zip). 我想将此Jre捆绑到install4J. 当我尝试捆绑此文件时,在构建过程中它会显示FileNotFoundException错误,并正在查找File jre-x64-1.8.0_40.zip.tar.gz.
I have downloaded JRE (jre-x64-1.8.0_40.zip) using Maven Dependency. I want to Bundle this Jre to install4J. When I am trying to bundle this, during building it is showing error as FileNotFoundException and looking for File jre-x64-1.8.0_40.zip.tar.gz.
如何捆绑jre zip?
How can I bundle jre zip?
如果没有,install4j是否提供转换文件类型的功能?
If not, does install4j provide feature to convert file type?
推荐答案
您可以通过调用 Project-> Create JRE Bundle 从已安装的JRE中创建 install4j JRE包.从主菜单或使用createbundle
命令行实用程序.
You can create install4j JRE bundles from installed JREs by invoking Project->Create a JRE Bundle from the main menu or by using the createbundle
command line utility.
不可能将带有JRE的ZIP或从Oracle网站下载的归档文件直接转换为install4j可以使用的JRE捆绑软件.无论如何,您都必须先安装JRE.
It is not possible to directly convert a ZIP with a JRE or an archive downloaded from the Oracle web site into a JRE bundle that is usable by install4j. You have to install the JRE first in any case.
在install4j 8中已更改.有关详细信息,请参见"JRE捆绑包格式"部分.在 https://www.ej-technologies.com /resources/install4j/help/doc/concepts/jreBundles.html .
This has changed with install4j 8. For details, see section "JRE bundle format" on https://www.ej-technologies.com/resources/install4j/help/doc/concepts/jreBundles.html.
这篇关于将Jre与Install4J捆绑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!