目前我在Linux上使用install4j的6.1.5版。当我检查更新时,我收到以下错误:
例外:
java.lang.ClassNotFoundException: com.install4j.script.I4jScript_Internal_36
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at com.install4j.runtime.installer.helper.Install4jClassLoader.loadClass(Install4jClassLoader.java:81)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:187)
at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:182)
at com.install4j.runtime.installer.ContextImpl.checkGroupCondition(ContextImpl.java:197)
at com.install4j.runtime.installer.controller.ScreenNavigator.forward(ScreenNavigator.java:154)
at com.install4j.runtime.installer.controller.ScreenNavigator.findNextScreenConfig(ScreenNavigator.java:60)
at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:213)
at com.install4j.runtime.installer.controller.Controller.start(Controller.java:94)
at com.install4j.runtime.installer.Application.runApplication(Application.java:71)
at com.install4j.runtime.installer.Application.main(Application.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
答案 0 :(得分:1)
此编译的脚本类包含在JAR文件.install4j\user.jar
中。从您的错误消息中,似乎该JAR文件已被删除或替换为与.install4j\i4jparams.conf
的内容不兼容的版本。