Click on New under the System variables window.
Input _JAVA_OPTIONS in the Variable name box, and then input –Xmx512M in the Variable value box and click on OK to save the change.
Click on OK in the Environment Variables window.
Click on New under the System variables window.
Input _JAVA_OPTIONS in the Variable name box, and then input –Xmx512M in the Variable value box and click on OK to save the change.
Click on OK in the Environment Variables window.
Open File Explorer and navigate to the location of your java installation.
Right-click on java.exe and choose Properties.
Right-click on the application executable (the one that is triggering the error) and repeat the same procedure: Compatibility > Run this program as an administrator > Apply.
Run the application and see if the error message is resolved.
As mentioned, try some of the solutions below to get rid of the “Unable to create a Minecraft Java Virtual Machine” error easily. 1. New Java system variable. If the built-in RAM cannot support a Java feature, actually allocate the maximum amount of RAM to the Java application to support each one. Press the Windows + R keys to open the Run utility.
Click “Associate file type by protocol” with the program. Select “Change program” and click on “JAVA much more machine”. Try uninstalling or reinstalling JAVA
How do I fix a Java virtual machine launcher error on Minecraft Java and on Windows 10?
How to fix Java Machine electronic error?
- Set up a new system variable for Java. Open “Run with Windows” by pressing the + R keys.
- Select “Run as administrator” for “Approach Java”. Open in normal mode with the keyboard shortcut Cortana Windows + S.
- Reinstall Java.
How do I fix a Java Virtual Machine launcher error on Minecraft Java and on Windows 10?
To resolve this error
- Press Windows and Break to open the Control Panel.
- Click Advanced System Settings, which should be on a new page on the left.
- Click Environment Variables . Here.”
- Select “New” for “System Variables”.
- For “_java_options”, enter the name of the factor.
- Enter “-Xmx256M” as the page value .
How do I fix a Java virtual machine launcher error on Minecraft Java and on Windows 10?
How to fix Java virtual product error?
- Reset system variable because java.Open Run is started with the Windows + R keyboard shortcut.
- Choose my run as administrator for a sensible choice of java. Open Cortana with one of the keyboard shortcuts Windows + S.
- Reinstall Java.
How do I fix a Java Virtual Machine launcher error on Minecraft Java and on Windows 10?
solutions to this error
- Click “Windows” and “Pause” to open the Control Panel.
- Click “Advanced System Settings” on the left.
- Click “Environment Variables” here.< /li>< li>Select “New” under “System Variables”.
- Enter “_JAVA_OPTIONS” the same as the variable name.
- Enter “-“. Xmx256M” variable value when.< /li>

Ermias is a tech writer with a passion for helping people solve Windows problems. He loves to write and share his knowledge with others in the hope that they can benefit from it. He’s been writing about technology and software since he was in college, and has been an avid Microsoft fan ever since he first used Windows 95.