0
Thanks

A few words of thanks would be greatly appreciated.

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.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
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).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!