Default game wont run

package mygame;

import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.renderer.RenderManager;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;


  • test
  • @author normenhansen
    public class Main extends SimpleApplication {
public static void main(String[] args) {
    Main app = new Main();
public void simpleInitApp() {
    Box b = new Box(1, 1, 1);
    Geometry geom = new Geometry("Box", b);
    Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
    mat.setColor("Color", ColorRGBA.Blue);
public void simpleUpdate(float tpf) {
    //TODO: add update code
public void simpleRender(RenderManager rm) {
    //TODO: add render code


This is default code I get If I create new project.
Once I run program and I click 'Continue’
I receive error:
Failed to create display:
LWJGLException: Pixel format not accelerated.

Error log in console:
Jan 27, 2017 9:18:46 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Jan 27, 2017 9:18:47 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:\Users\t\Desktop\JMonkey\startivity\BasicGame
Jan 27, 2017 9:18:47 AM 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(
at org.lwjgl.opengl.WindowsDisplay.createWindow(
at org.lwjgl.opengl.Display.createWindow(
at org.lwjgl.opengl.Display.create(
at org.lwjgl.opengl.Display.create(
at com.jme3.system.lwjgl.LwjglDisplay.createContext(
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(

Jan 27, 2017 9:18:47 AM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue.

I think this is the same:



Helped him

Well I always have this problem when using rdp or running stuff in a vm without Hardware acceleration (so Software Rendering only). Could this be the case?

I installed fresh. I have not added addons or something?

What kind of graphics card do you have?

It’s strange that it doesn’t even get to the point of logging that information.

Pixel format not accelerated usually means you have no graphic drivers or they are outdated. Update them and see if it works.