Java version problems

A JNI error has occurred — the launcher is using the wrong Java

What the log looks like

a jni error has occurred
error: a jni error has occurred, please check your installation

How to fix it

  1. Almost always a Java version mismatch, not a broken install
  2. Set the instance Java to the release Minecraft asks for
SeverityStops the game
CategoryJava version problems

Check your own log

Related errors