Minecraft - Could not create the Java virtual machine

January 2017

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.

Related


Published by deri58. Latest update on September 17, 2013 at 06:02 AM by deri58.
This document, titled "Minecraft - Could not create the Java virtual machine," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).