Java Crashes

Please help me....

I am working on ubuntu with jdk1.6u2 and java3d1.5.1. I have created an off-screen canvas which is running on windows fine but crashes on ubuntu.

Does my system need any upgradation or i will have to do same with different methods. Following is code

BufferedImage buff_image=new BufferedImage(canvas.getWidth(), canvas.getHeight(), BufferedImage.TYPE_3BYTE_BGR);

ImageComponent2D imgComp=new ImageComponent2D(ImageComponent2D.FORMAT_RGB8, buff_image);

imgComp.setCapability(ImageComponent2D.ALLOW_IMAGE_READ);

off_screen_canvas3d.setOffScreenBuffer(image_component);

off_screen_canvas3d.renderOffScreenBuffer(); [b]//crashes at this line[/b]

off_screen_canvas3d.waitForOffScreenRendering();

Can any one please help me?

Thanks and regards..

[930 byte] By [rahulapva] at [2007-11-27 11:13:05]
# 1

In addition to above

following warning comes on running the program

Java 3D WARNING : reported GLX version = 1.2

GLX version 1.3 or higher is required

The reported version number may be incorrect. There is a known

ATI driver bug in glXQueryVersion that incorrectly reports the GLX

version as 1.2 when it really is 1.3, so Java 3D will attempt to

run anyway.

JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality

regards...

and the error comes is

Java 3D ERROR : FBConfig doesn't support pbuffer or pixmap returns None

rahulapva at 2007-7-29 13:58:39 > top of Java-index,Security,Cryptography...