当前时区 GMT+8, 现在时间是 2008-8-29 03:28
游客:
注册
登录
仅登录论坛
|
搜索
帮助
中国Linux公社论坛
»
应用编程技术与项目孵化
» question about GL4Java in linux
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: question about GL4Java in linux
passion
新手上路
UID 3736
精华 0
积分 25
帖子 10
阅读权限 10
注册 2002-10-17
来自 China
状态 离线
#1
发表于 2002-10-20 22:45
资料
短消息
加为好友
question about GL4Java in linux
hi,all
i ijust installed gl4java in j2sdk1.4.1 under my Manfrake8.2.Then i want to test it by a program that is work fine in windows system.I type javac *.java,everything is ok,no error(succeeed in windows).Then I type java *.the exception message as below:
----------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
X11DrawableFactory.glXChooseVisual: no visual
java.lang.reflect.InvocationTargetException: java.lang.IllegalArgumentException: Unknown Visual Specified
at sun.awt.X11GraphicsConfig.init(Native Method)
at sun.awt.X11GraphicsConfig.<init>(X11GraphicsConfig.java:69)
at sun.awt.X11GraphicsConfig.getConfig(X11GraphicsConfig.java:44)
at java.lang.reflect.Method.invoke(Native Method)
at gl4java.drawable.X11SunJDK13GLDrawableFactory.getGraphicsConfiguration(X11SunJDK13GLDrawableFactory.java:99)
at gl4java.drawable.SunJDK13GLDrawableFactory.getGraphicsConfiguration(SunJDK13GLDrawableFactory.java:61)
at gl4java.drawable.SunJDK13GLDrawableFactory.createGLCanvas(SunJDK13GLDrawableFactory.java:41)
at gl4java.drawable.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:165)
at TEDCanvas.<init>(TEDCanvas.java:63)
at TEDEdit.<init>(TEDEdit.java:236)
at TEDEdit.main(TEDEdit.java:50)
Exception in thread "main" java.lang.InternalError: java.lang.reflect.InvocationTargetException
at gl4java.drawable.X11SunJDK13GLDrawableFactory.getGraphicsConfiguration(X11SunJDK13GLDrawableFactory.java:109)
at gl4java.drawable.SunJDK13GLDrawableFactory.getGraphicsConfiguration(SunJDK13GLDrawableFactory.java:61)
at gl4java.drawable.SunJDK13GLDrawableFactory.createGLCanvas(SunJDK13GLDrawableFactory.java:41)
at gl4java.drawable.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:165)
at TEDCanvas.<init>(TEDCanvas.java:63)
at TEDEdit.<init>(TEDEdit.java:236)
at TEDEdit.main(TEDEdit.java:50)
-----------------------------
the program stoped.i really don,t understand the meaning of"Xlib: extension "GLX" missing on display ":0.0"." The programe TEDCanvas.java and TEDEdit.java is mine.the others exception occured in the gl4java lib's program.But this program is work fine under windows.
by the way dir of GL4java installation is as below:
-------------------------------------
./install.sh
Java-Classes Path:/usr/local/jdk1.4.1/jre/lib/ext
java Native-lib's-Path's: /usr/local/jdk1.4.1/jre/lib/i386
os native-lib's -Path's:/usr/lib
The GL4Java libraries have been
successfully installed on your
system.
Please restart your browser!
You should now be able to run 3D web
applets which use GL4Java.
ROOT may have to run 'ldconfig' !
---------------------------------------------------
that means installed succeefully.
I really don't know where the problem is.if you have any idea or suggestion.pls tell me.Thank you very much!!!!
waiting for your help!!!
P.S:because the origin program is about 20 files,so i can not attach here.And i think it's not problem of program files,it must happend in the system configuration.(the file is woke fine under windows system)
Xlib: extension "GLX" missing on display ":0.0"."
keep your passion RH8.0
投票
交易
悬赏
活动
论坛跳转 ...
> 公告区
> 系统安装
> 硬件配置
> Magic Linux技术支持区
> Magic Linux开发培训版
> 中文化与桌面美化
> 桌面使用小技巧
> 命令行使用小技巧与SHELL编程
> 网络工具
> 办公软件
> 多媒体应用
> 游戏乐园
> 服务器与网络安全
> Linux资源共享区
> Debian/LFS/Gentoo专题版
> Linux高质量字体研究
> easyright计算机研究所
> Linux认证考试专题版
> 应用编程技术与项目孵化
> 网站开发技术与项目孵化
> 参与国际开源项目
> 翻译汉化
> 中文GNOME用户交流区
> Skyeye项目专栏
> lumit项目专栏
> eva项目专栏
> fanx项目专栏
> 连连看for Linux项目专栏
> OurLinux杂志专区
> BitStorm项目专栏
> AVS项目专栏
> VirgoFTP项目专栏
> EGui开源项目
> RT-Thread实时操作系统
> 内核源代码阅读交流
> 内核安装和升级
> 嵌入式开发
> 校园行动联盟
> Linux与公社文化杂谈
> 求职与招聘
> 公社接待中心
Powered by
Discuz!
5.5.0
© 2001-2007
Comsenz Inc.
TOP
清除 Cookies
-
联系我们
-
中国Linux公社
-
WAP