_JAVA_OPTIONS
is an environment variable that provides options for the Java Virtual Machine (JVM) used to run Minecraft: Java Edition and other Java applications on your computer.
This variable is never used under normal circumstances. However, some programs register this variable in both the user and system environment variables. This can cause problems that can affect the performance of your game, make it impossible to adjust some Java settings such as the amount of memory allocated, or prevent the JVM from running altogether.
Removing _JAVA_OPTIONS variable
To determine if you are affected, and to resolve the issues caused by the presence of this variable, please follow these steps:
Press
Win
+R
to open a Run dialog.
In the Open: field of the Run dialog, paste the following and press OK.
powershell -Command "Start-Process -Verb RunAs -FilePath \"rundll32.exe\" -ArgumentList \"sysdm.cpl,EditEnvironmentVariables\"
A command prompt may open, don't close it.
If you see a User Account Control dialog, press Yes.
You should see the Environment Variables settings window. In it, look for
_JAVA_OPTIONS
in both the User and System variable lists. When you find one, select it, and press Delete.
When you're finished checking the lists, press OK.
Sign out of your account and sign back in to apply the changes. To do this, right-click the ⊞ Start menu button or press
Win
+X
. In the menu, select Shut down or sign out → Sign out.
Verify that your issues are resolved.