error with openGL, help!

hellow people,

i'm working working on a 3D game project. My program compiles fine but when it runs it gives me the following error:

Java 3D ERROR : wglGetExtensionsStringARB not support !

- The specified procedure could not be found.

Fallback to use standard ChoosePixelFormat.

Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)

Exception in thread"J3D-Renderer-1" java.lang.IllegalStateException: GL_VERSION

at javax.media.j3d.Canvas3D.createNewContext(Native Method)

at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2429)

at javax.media.j3d.Renderer.doWork(Renderer.java:747)

at javax.media.j3d.J3dThread.run(J3dThread.java:250)

I tried installing the latest version of openGL , but it still gives the same error.

I'm using GeForce4 MX Intergrated Graphics card on windows pro.

[912 byte] By [goodfellaa] at [2007-10-3 4:55:34]
# 1
I already told you that I had the same problem and solved it by installing directX instead.
CaptainMorgan08a at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 2
^^^thnx hommie, but i thought there were other ways besides using direct x, i'll try it though
goodfellaa at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 3
Try googling it. Theres tons of people with the same problem.
CaptainMorgan08a at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 4

No need to google. The error message says it all: Your card's drivers are either old or, even worse, are the drivers that come with Windows, because those support OpenGL only via Microsoft's 1.1 software implementation which is close to not support it at all. Go to nvidia.com, update your drivers and you should be fine.

arschpustela at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 5
^^^thanx, i'll try that 2
goodfellaa at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 6

Hello,

I've actual a comparable problem.

Java3D applet works if I run it in JBuilder environment but if I try to

run the applet within the browser I get an error. This happens at the same machine!!

I've compared the Java3D files from the JDK 1.4 of Borland JBuilder foundation and the jre1.5.0_09 directory. They seem to be the same.

I've removed the old JRE and installed the new one and after this I've installed the Java3D SDK.

I used following files provided by SUN:

java3d-1_2_1_04-win32-directx-sdk.exe (This is required to run applets in Borland JBuilder Foundation).

Than I've installed (after removing the old JRE's) jre-1_5_0_09-windows-i586-p-s.exe.

Java3D doesn' work after this in the browser. So I removed it and reinstalled it. After this the applet run in JBuilder fine (can use all the samples) but not in Internet Explorer. The only error I see running "Hello, Universe" is:

Exception in thread "J3D-Renderer-1" java.lang.IllegalStateException: GL_VERSION

at javax.media.j3d.Canvas3D.createNewContext(Native Method)

at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2429)

at javax.media.j3d.Renderer.doWork(Renderer.java:747)

at javax.media.j3d.J3dThread.run(J3dThread.java:250)

I do not use GL. I've not installed GL. I've installed DirectX SDK.

I'm a little bit confused with that.

kind regards

Steven

Steven.Of.Oza at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...
# 7

Hi Steven,

I have found the similar problem.

JRE 1.5.09 has been installed on my computer.

When I run the applet in IE, it can be shown correctly whatever JVM IE uses.

When I run it in Maxthon, and use default setting(use Microsoft JVM), it will throw GL_VERSION exception. After I choose "Other Virtual Machine Installed" in "Java Virtual Machine" of "Advanced" option in "Maxthon Option", nothing happend, applet are just grayed and status bar shows that mainclass not found. That's weird.

As for GL_VERSION exception, there's two way to solve it .

First is to update video card driver, which is sure to solve the problem. This method also can resolve the applet problem.

Second is to run it like: java -Dj3d.rend=d3d App. This method seems work fine only when program run as application. If anyone knows how to pass this parameters to JVM while run as applet, pls let me know, thx.

regards

QingxinXua at 2007-7-14 23:00:43 > top of Java-index,Security,Cryptography...