我有一个 install4j 项目,它在 Windows 上编译和构建非常好。但是,当我在 linux 上尝试此操作时,我收到标题中所述的错误。我已经打开了详细模式,但我没有收到比这更有帮助的东西。由于代码被混淆了,我什至无法猜测可能出了什么问题。
是否可以添加其他类型的日志记录以获取有关编译过程中可能出现的问题的更多信息?
[exec] Compiling launchers:
[exec] com.A.B.E: java.io.IOException: Negative seek offset
[exec] at com.A.B.D.R(ejt:2613)
[exec] at com.install4j.B.E.F.C(ejt:1892)
[exec] at com.install4j.B.E.B.b(ejt:3208)
[exec] at com.install4j.B.F.i(ejt:1193)
[exec] at com.install4j.B.F.J(ejt:2499)
[exec] at com.install4j.B.A.m(ejt:3411)
[exec] at com.install4j.B.B.?(ejt:311)
[exec] at com.install4j.B.B.?(ejt:1515)
[exec] at com.install4j.B.B.H(ejt:2287)
[exec] at com.install4j.Install4JApplication.?(ejt:436)
[exec] at com.A.M.?(ejt:2208)
[exec] at com.install4j.Install4JApplication.main(ejt:1879)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
[exec] at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
[exec] Caused by: java.io.IOException: Negative seek offset
[exec] at java.io.RandomAccessFile.seek(Native Method)
[exec] at com.A.B.A.H.A(ejt:1114)
[exec] at com.A.B.A.H.S(ejt:179)
[exec] at com.A.B.A.H.K(ejt:2639)
[exec] at com.A.B.A.H.<init>(ejt:2868)
[exec] at com.A.B.D.e(ejt:3063)
[exec] at com.A.B.D.R(ejt:3485)
[exec] ... 17 more
[exec] install4j: compilation failed. Reason: java.io.IOException: Negative seek offset