我试图用Install4J 8创建一个安装程序,将OpenJDK8捆绑在一起。但是,在构建安装程序时,它会下载JRE,但随后找不到下载的JRE。
Creating JRE bundle:
Finding JDK release openjdk8/jdk8u212-b04 [windows-amd64]
Downloading OpenJDK8U-jdk_x64_windows_hotspot_8u212b04.zip (100%)
Processing downloaded JDK archive
Build failed.
Cause: java.io.FileNotFoundException
/home/jens/.install4j8/jres/original/c9aab7b767498c7a88df1b985f6897f2219f4794/OpenJDK8U-jdk_x64_windows_hotspot_8u212b04.zip (Datei oder Verzeichnis nicht gefunden)
Stack trace:
com.exe4j.a.d: java.io.FileNotFoundException: /home/jens/.install4j8/jres/original/c9aab7b767498c7a88df1b985f6897f2219f4794/OpenJDK8U-jdk_x64_windows_hotspot_8u212b04.zip (Datei oder Verzeichnis nicht gefunden)
at com.install4j.b.r.b(ejt:230)
at com.install4j.gui.b.run(ejt:100)
Caused by: java.io.FileNotFoundException: /home/jens/.install4j8/jres/original/c9aab7b767498c7a88df1b985f6897f2219f4794/OpenJDK8U-jdk_x64_windows_hotspot_8u212b04.zip (Datei oder Verzeichnis nicht gefunden)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at com.ejt.framework.d.y.a(ejt:14)
at com.install4j.jdk.q$b.a(ejt:29)
at com.install4j.jdk.q.a(ejt:37)
at com.install4j.jdk.h.a(ejt:166)
at com.install4j.jdk.h.a(ejt:139)
at com.install4j.jdk.h.a(ejt:17)
at com.install4j.jdk.j.a(ejt:126)
at com.install4j.jdk.j.invoke(ejt:17)
at com.install4j.jdk.aa$a.a(ejt:18)
at com.install4j.jdk.ak.a(ejt:61)
at com.install4j.jdk.h.b(ejt:103)
at com.install4j.jdk.h.a(ejt:60)
at com.install4j.b.l.a(ejt:34)
at com.install4j.b.f.g(ejt:942)
at com.install4j.b.f.a(ejt:909)
at com.install4j.b.f.V(ejt:890)
at com.install4j.b.r.a(ejt:491)
at com.install4j.b.r.b(ejt:163)
... 1 more
实际上,/ home / jens / .install4j8 / jres / original / c9aab7b767498c7a88df1b985f6897f2219f4794 /
中没有文件我已经在“常规设置”中定义了要使用的JRE,并且不覆盖各个介质上的JRE。
有什么想法吗?