FAQ-DB2数据库安装配置后,运行db2ca或db2cc启动控制中心报错
适用版本通用
问题描述DB2数据库安装配置好后,运行db2ca和db2cc,启动控制中心都报错,提示找不到类1. Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11.XToolkit (initialization failure) 2. at java.lang.J9VMInternals.initialize(J9VMInternals.java:130) 3. at java.lang.Class.forNameImpl(Native Method) 4. at java.lang.Class.forName(Class.java:130) 5. Caused by: java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable. 6. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) 7. at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:95) 8. at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:184)
详细可参考http://hchmsguo.iteye.com/blog/1284090
问题描述DB2数据库安装配置好后,运行db2ca和db2cc,启动控制中心都报错,提示找不到类1. Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11.XToolkit (initialization failure) 2. at java.lang.J9VMInternals.initialize(J9VMInternals.java:130) 3. at java.lang.Class.forNameImpl(Native Method) 4. at java.lang.Class.forName(Class.java:130) 5. Caused by: java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable. 6. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) 7. at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:95) 8. at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:184)
原因分析:
是DISPLAY变量问题,导致无法连接到X windows图形界面
解决方案:
详细可参考http://hchmsguo.iteye.com/blog/1284090
关键字
服务器 启动
FAQ-DB2数据库安装配置后,运行db2ca或db2cc启动控制中心报错
适用版本通用问题描述DB2数据库安装配置好后,运行db2ca和db2cc,启动控制中心都报错,提示找不到类1. Exception in thread "main"...
点击下载文档
本文2024-09-16 22:41:52发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-49774.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章