【问题描述】
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