First helloworld tutorial code does not run

Hi guys,

I am completely new to jme and to java in general :



I downloaded, installed and updated jme 3 and there are 2 main problem yet untill now .



first one is that as soon as i run the jme , in the bottom bar of the SDK there is the sentance: " Opening SceneViewer " .

and next to it is a guage bar stuck at 14% .



the second problem is that I try to run my first helloworld code from the tutorial : and it did not run , also I got this error list in the output window:



Apr 02, 2012 3:36:13 PM com.jme3.system.JmeDesktopSystem initialize

INFO: Running on jMonkeyEngine 3.0.0 Beta

Apr 02, 2012 3:36:13 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory: C:UsersAdminDocumentsHelloWorldTutorial

Apr 02, 2012 3:36:13 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.8.2

Apr 02, 2012 3:36:13 PM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 640 x 480 x 0 @0Hz

Apr 02, 2012 3:36:13 PM com.jme3.app.Application handleError

SEVERE: Failed to create display

org.lwjgl.LWJGLException: Pixel format not accelerated

at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)

at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)

at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:210)

at org.lwjgl.opengl.Display.createWindow(Display.java:306)

at org.lwjgl.opengl.Display.create(Display.java:873)

at org.lwjgl.opengl.Display.create(Display.java:782)

at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:137)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)

at java.lang.Thread.run(Thread.java:722)



Apr 02, 2012 3:36:13 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalStateException

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:147)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)

at java.lang.Thread.run(Thread.java:722)





Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread “LWJGL Renderer Thread”

BUILD SUCCESSFUL (total time: 4 seconds)







I think the two errors are related to each other . aren’t they ?



any clues or any kind of help is really appreciated.



jmenewbie28

Your graphics card does not support OpenGL 2 properly, you can enable OpenGL1 support via the application settings but you will not be able to use all functions of the engine.

Your graphics card does not support OpenGL 2 properly, you can enable OpenGL1 support via the application settings but you will not be able to use all functions of the engine.


normen in the tools/options/openGL , right ?

I already did that . yet the same problem appears .

actually I am trying jme sdk on 2 platforms , my workplace desktop and my own pc . and each platform is giving a different error message .

I wonder why .

Computer Specs and graphics specs might help us be able to assist in debugging the issues(include both comps)

Your graphics card does not support OpenGL 2 properly..

OpenGL2.. I wonder what card that would be :) since it's year 2012 today :)
@shanebeastlyb said:
Computer Specs and graphics specs might help us be able to assist in debugging the issues(include both comps)


Hi again guys, sorry for my slow replay , as my boss is watching us like a hawk, so I am steeling few minutes to chat each time :)

ShaneBeastlyB , here is both specs from computer properties and dxdiag for the current computer :

-computer specs : System:
Microsoft Windows XP
Professional
Version 2002
Service Pack 3

Manufactured and supported by:
Dell Optiplex 755
Intel(r) Core(TM)2 Duo CPU
E6750 @ 2.66GHz
2.66 GHz, 1.95 GB or RAM
Physical Address Extinsion


- Graphics specs: DirectX Files: The file d3d9d.dll is a debug version, which will run slower
than the retail version.


Name: Intel(R) Q35 Express Chipset Family
Chip Type: Intel(R) GMA 3100
DAC Type: internal
Current Display Mode: 1280 x 1024 (16 bit) (60Hz)

display drivers:
main driver: igxprd32.dll
version: 6.14.0010.4837 english
date: 28/06/2007
WHQL logo'd: yes
Mini VDD: igmxpmp32.sys
VDD: n/a
DDI version: 9 or higher

DirectDraw Acceleration: enabled
Direct3D Acceleration: enabled

results of test DirectDraw and Direct3D: no problems found


still rthe sdk is not running the code

any clues please , your help is really appreciated

Did you choose any antialiasing options? If yes, you might get this error.

Also, make sure you have the latest driver installed for your video card.

Did you choose any antialiasing options? If yes, you might get this error.
Also, make sure you have the latest driver installed for your video card.


Momoko Fan I downloaded and re-installed some driver from website,

and I didn't play around with the standard configuration , so I guess antialiasing is not the reason .