Why is Minecraft giving an OpenGL error?

I recently got Minecraft but not from the website, I paid for a code and everything seemed ok. When I tried to play the game a thing came up saying it crashed and then a message popped up saying The game crashed whilst initializing game

Error: java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL.


Solution 1:

It looks like your graphics card doesn't support OpenGL or your drivers are outdated.

  • For dedicated graphics cards, go to the card manufacturer's site (Nvidia, AMD etc.) and download the driver for your card and OS.
  • For integrated graphics, go to your motherboard manufacturer's site and download the driver for your motherboard and OS. Make sure you download the correct driver because quite a lot of older motherboard don't have Win10 drivers for example and installing Win7 drivers will cause problems.

There's also a guide on how to upgrade your drivers on Minecraft's page.