普元 AppServer 6.5 linux环境使用哑安装方式安装,卸载时报错:No X11 DISPLAY variable was set, but this program performed

【问题】

AppServer 6.5 linux环境使用哑安装方式安装,卸载时报错:

java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at com.primeton.install.gui.InstallFrame.<init>(InstallFrame.java:42)
at com.primeton.install.runtime.SwingRunner.init(SwingRunner.java:324)
at com.primeton.install.runtime.AbstractRunner.execute(AbstractRunner.java:44)
at com.primeton.install.launch.Launcher.run(Launcher.java:166)
at com.primeton.install.ext.ProductInstaller.main(ProductInstaller.java:38)

 

【解答】

原因:卸载时执行命令为:./uninstall.sh    没有增加-silent参数

解答:在linux环境使用哑安装方式安装后,卸载时需要执行./uninstall.sh -silent命令

原文链接:http://doc.primeton.com/pages/viewpage.action?pageId=39390172

详细咨询请联系普元售后:cservice@primeton.com

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值