How do i solve the Java error: could not create java virtual machine?

Status
Not open for further replies.

Ghost1699

Reputable
Jun 9, 2014
1
0
4,510
I have tried to fix this problem multiple times I am trying to run Minecontrol for Windows 7. Please help!
 

Ganesh_4

Reputable
Oct 15, 2015
1
0
4,510
Hey Guys !
try this ....
If Java causes some trouble, you may get the error message "Could not create the Java Virtual Machine." This tutorial will help you solve the issue.



When that happens, the easiest solution that has been tested on Windows XP, Windows 7 and Windows 8 is:




• Open the Control Panel
• Go to System
• Go to Advanced Systems Properties
• Then Environment Variables
• In System Variables, click Add
• New Variable Name: _JAVA_OPTIONS
• New Variable Value: -Xmx512M
• Click OK
• • • • • • • •

That's it, your Java program should now be able to execute properly.
For those interested, Java -Xmx/s is the configuration parameter that control the amount of memory Java uses.


• Xmx sets the maximum heap memory size
• Xms sets the minimum heap memory size
 

CHIEF_

Commendable
Apr 5, 2016
1
0
1,510


It does not work

 

VSVAadityaS

Commendable
Jun 10, 2016
1
0
1,510



Thanks Phillip. That worked ... :)

 
Status
Not open for further replies.