问题
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.
How can I bundle jre zip?
If not, does install4j provide feature to convert file type?
回答1:
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.
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.
来源:https://stackoverflow.com/questions/35656121/bundle-jre-with-install4j