Ask a question »

Minecraft - Could not create the Java virtual machine

August 2015


Minecraft - Could not create the Java virtual machine

Issue


Upon launching Minecraft, the following error message is displayed:
Error: Could not create the Java virtual machine
Error: A fatal exception as occurred program will exit

Solution

  • Right-click on "Computer" and select "Properties"
  • Then go to "Advanced" or "Advanced Settings" > "Environment Variables"
  • Below "System Variables", click on "New":
  • For "Variable name" enter: "_JAVA_OPTIONS"
  • For "Variable value" enter: "-Xmx512M".

Tested under Windows 7.

Thanks to ZeInf3ct3d for this tip.
For unlimited offline reading, you can download this article for free in PDF format:
Minecraft-could-not-create-the-java-virtual-machine.pdf

See also

In the same category

Published by deri58.
This document entitled « Minecraft - Could not create the Java virtual machine » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.