Problem at start

When I try to run my project i get this:

init:

Deleting: C:Documents and SettingsmlkMy DocumentsBasicGamebuildbuilt-jar.properties

deps-jar:

Updating property file: C:Documents and SettingsmlkMy DocumentsBasicGamebuildbuilt-jar.properties

Compiling 1 source file to C:Documents and SettingsmlkMy DocumentsBasicGamebuildclasses

warning: [options] bootstrap class path not set in conjunction with -source 1.5

1 warning

compile-single:

run-single:

Jul 20, 2012 9:18:39 PM com.jme3.system.JmeSystem initialize

INFO: Running on jMonkeyEngine 3.0.0 Beta

Jul 20, 2012 9:18:39 PM com.jme3.system.Natives getExtractionDir

WARNING: Working directory is not writable. Using home directory instead.

Jul 20, 2012 9:18:39 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory: C:Documents and Settingsmlk.jme3natives_eb1c407e

Jul 20, 2012 9:18:39 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.8.1

Jul 20, 2012 9:18:39 PM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 320 x 200 x 32 @60Hz

Jul 20, 2012 9:18:40 PM com.jme3.app.Application handleError

SEVERE: Failed to create display

org.lwjgl.LWJGLException: No support for WGL_ARB_multisample

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:140)

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)



Jul 20, 2012 9:18:40 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:185)

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: 6 seconds)

Your video card is having issues with antialiasing.

Have you checked these posts already?

http://hub.jmonkeyengine.org/groups/graphics/forum/topic/merging-objects-2

http://hub.jmonkeyengine.org/groups/graphics/forum/topic/no-support-for-wgl_arb_multisample/

http://hub.jmonkeyengine.org/groups/general-2/forum/topic/i-am-new-to-jme-and-i-cant-even-compile-an-example/



Note that when you have errors you should post your system specs, at least what video card you are using.

Ok I have set anti-aliasing to off and now I have this error

Jul 21, 2012 6:29:51 AM com.jme3.app.Application handleError

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

java.lang.UnsupportedOperationException: GLSL and OpenGL2 is required for the LWJGL renderer!

at com.jme3.renderer.lwjgl.LwjglRenderer.initialize(LwjglRenderer.java:203)

at com.jme3.system.lwjgl.LwjglContext.initContextFirstTime(LwjglContext.java:136)

at com.jme3.system.lwjgl.LwjglContext.internalCreate(LwjglContext.java:173)

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

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

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



Jul 21, 2012 6:29:51 AM com.jme3.renderer.lwjgl.LwjglRenderer cleanup

INFO: Deleting objects and invalidating state



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

BUILD SUCCESSFUL (total time: 14 seconds)

And my video card is 945gm

Did you try updating your drivers? Maybe that’d do the trick.

I am with the latest drivers

That’s an old card and you will have to run in openGL 1 mode: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:intermediate:appsettings?s[]=opengl1

How ironic I just realized it. But what to expect from a 5 years laptop. I think I can find OpenGL 2.

You can also choose your render system in your AppSettings with:

settings.setRenderer(AppSettings.LWJGL_OPENGL_ANY);

Systems wich dosn’t support OpenGL 2. will be run with OpenGL1.5
Nevertheless on newer hardeware with OpenGL2 or better support it will be run automaticly with OpenGL2 :slight_smile:

I’m sorry, but 3 years later, really?

shame on me :no_mouth:

I did not pay attention to the date :triumph:

I was pleased sometimes to be able to answer, so I did not realize it.

I really should sleep more :sleeping:

Haha, fair enough, I do believe the forums also ask you if you are REALLY sure you want to revive an old topic :wink:

The rude forum asked me nothing :stuck_out_tongue_closed_eyes:

But I really should pay more attention to what I’m doing. Sorry for that ^^