Pixel Format error with JDK 8


#1

Hello,
I just switched to JDK 1.8.0_212 (from 1.7.0_80) and I’m getting this error:
Jun 04, 2019 9:09:33 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.2-stable

  • Branch: HEAD
  • Git Hash: ea23b6a
  • Build Date: 2019-01-02
    Jun 04, 2019 9:09:33 PM com.jme3.app.LegacyApplication 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:247)
    at org.lwjgl.opengl.Display.createWindow(Display.java:306)
    at org.lwjgl.opengl.Display.create(Display.java:848)
    at org.lwjgl.opengl.Display.create(Display.java:757)
    at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:143)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
    at java.lang.Thread.run(Thread.java:748)

Jun 04, 2019 9:09:33 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue.

When working with JDK 7 everything runs fine but I cannot use Stephen Gold’s Mine library…
I have seen threads speaking about Nvidia driver downgrade for solving this issue but I have Intel driver and it works fine with JDK 7 so I wonder if anyone has encountered such issue with JDK 8 and what was the resolution?
Alternatively can Mine run with JDK 7?

Thanks
Adi


#2

Have you tried updating your intel driver? Usually the default windows driver is the issue, and you need the actual vendor driver (e.g. if you have a HP laptop, get the drivers from the HP website).


#3

Yes, the driver is up to date but it is not from HP (I have a HP laptop). It works fine with JDK 7 though… so it’s something with JDK 8 that is making the difference. Stephen said he will compile Minie against JDK 7 so I hope to migrate to Minie in the near future