How to install PCNS for linux manually
OS:Slackware 10.2 Kernel 2.6.X
PCNS: PCNS 2.21 for linux.
UPS管理卡:AP9619
1、用unzip解开PCNS安装文件:pcnslnx221.bin,解压缩后,会得到有两个文
件:install.jar和util.jar。将这两个文件保存在一个临时目录,例如:/temp/
#unzip pcnslnx221.bin
2、在系统里查找文件java,确保系统里有java 1.4.1以上版本,并记录下java.exe的
保存目录。如果不存在java,请到下载。
3、将工作目录切换至java.exe保存的目录,然后运行:
java -cp .:/temp/install.jar:c:/temp/util.jar load
特别提示:
最后一步一定要在Xwindows状下进行操作.
错误解答;
错误一:
# ./java -cp .:/pcns/install.jar:c:/temp/util.jar load
Exception in main class "JExpressLoader"
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at javax.swing.JFrame.(Unknown Source)
at JExpressLoader.(JExpressLoader.java:37)
at JExpressLoader.main(JExpressLoader.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at load.loadAndInvokeLoader(load.java:133)
at load.run(load.java:80)
at java.lang.Thread.run(Unknown Source)
解决:进入Xwindows模再运行.
阅读(2094) | 评论(0) | 转发(0) |