Unexpected quiting

i'm trying the examples in the tutorials but after few seconds they quit.  i looked at rhe faq and they say the problem is due to a bug

in jdk1.4 jni,but i'm using jdk6 ,so what's wrong

and here is what hapening :



SEVERE: Exception in game loop

org.lwjgl.opengl.OpenGLException: Invalid enum (1280)

        at org.lwjgl.opengl.Util.checkGLError(Util.java:53)

        at org.lwjgl.opengl.Display.swapBuffers(Display.java:591)

        at org.lwjgl.opengl.Display.update(Display.java:609)

        at com.jme.renderer.lwjgl.LWJGLRenderer.displayBackBuffer(Unknown Source)

        at com.jme.app.BaseGame.start(Unknown Source)

        at jmetest.renderer.TestMultitexture.main(Unknown Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at jmetest.TestChooser.start(Unknown Source)

        at jmetest.TestChooser.main(Unknown Source)

07/09/2007 09:56:50 ص com.jme.app.BaseSimpleGame cleanup

INFO: Cleaning up resources.

07/09/2007 09:56:50 ص com.jme.app.BaseGame start

INFO: Application ending.

Please try the tests and check which of them are not working (or exiting this way). My guess is, that it is something that your graphics card does not support. Thus it would also be helpful if you post graphics card specs and driver version.



Btw. are you running the most recent graphics driver? :slight_smile:

it'san s3g  64mb integrated card.and the driver is up todate

Which tests produce this error?  For example, does TestBoxColor or TestTeapot?

That error looks more of a incompatilibity of version error, I would suggest to remove jME, download from CVS, recompile, and try again.  (Easier said than done, I know  ;))

Maybe you should download an older version of the lwjgl for me the version 1.0 is working…

I've had that problem too… after updating the version… so try it and tell us about it :slight_smile: