You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

install4j安装后应用无法启动问题求助

问题:install4j启动CaaS_Agent应用失败

通过install4j安装程序启动CaaS_Agent应用时,应用无法正常启动。
应用启动失败截图:显示应用无法正常启动的异常界面。

查看安装日志,ID为260的RunExecutableAction已执行成功:

[INFO] com.install4j.runtime.beans.actions.misc.RunExecutableAction [ID 260]: Execute action
       Property arguments: [logging of arguments is disabled]
       Property environmentVariables: {}
       Property executable: CaaS_Agent
       Property returnCodeVariable: 
       Property rollbackArguments: null
       Property rollbackExecutable: null
       Property rollbackWorkingDirectory: null
       Property stderrFile: null
       Property stderrRedirectionMode: No redirection
       Property stderrVariableName: 
       Property stdinFile: null
       Property stdinRedirectionMode: No redirection
       Property stdinString: 
       Property stdoutFile: null
       Property stdoutRedirectionMode: No redirection
       Property stdoutVariableName: 
       Property timeout: 0
       Property workingDirectory: .
       Property failOnStderrFileError: false
       Property failOnStdinFileError: false
       Property failOnStdoutFileError: false
       Property includeParentEnvironmentVariables: true
       Property keepConsoleWindow: false
       Property logArguments: false
       Property rollbackSupported: false
       Property showWindowsConsole: false
       Property updateStderrVariableLines: false
       Property updateStdoutVariableLines: false
       Property useRollbackExecutable: false
       Property wait: false
       Property waitForStreams: true
       used working dir: /opt/Cipher/Caas_Agent/.
       Execute action successful after 514 ms
[INFO] com.install4j.runtime.beans.screens.FinishedScreen [ID 20]: command: finish
       cleaning up
       Finished at 2024-03-13 15:04:29 

在error.log中仅发现一条不影响应用可用性的错误:

java.lang.UnsupportedOperationException: Unable to open DISPLAY
    at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:142)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:140)
    at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
    at com.sun.glass.ui.Application.run(Application.java:147)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:279)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:750)

补充:Windows版本的安装程序不存在此问题。


内容的提问来源于stack exchange,提问作者Bondar Anton

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.28 05:43:23