More Info: How to Fix the Could Not Create the Java Virtual Machine Error
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
This thread was automatically marked as Locked.
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
This thread was automatically marked as Locked.
ERROR: A fatal exception has occurred. Program will exit.
I've been playing minecraft for a year perfectly, I started it this morning and gave me this error in a dialouge box. I tried running it with a modded, a vanilla, and no .minecraft folder at all. Always gives me this error! Please help!
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Minecraft version: 1.3.2
Minecraft.jar: minecraft 1.3.2.jar
Mods:
ModLoader.zip
AudioMod.zip
GuiAPI-0.14.6-1.3.2.zip
OptiFine_1.3.2_HD_U_A3.zip
Recipe Book.zip
Spawner GUI.zip
Shelf.zip
ArmorStand.zip
TooManyItems2012_08_16_1.3.2.zip
Java path: C:\Program Files\Java\jre6\bin\java
Memory: 1024 MB
LauncherPath: /C:/Documents and Settings/tamos/Desktop/MagicLauncher_0.9.9.exe
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
This is the error i'm getting if it helps
Picked up _JAVA_OPTIONS: -Xmx###m -Xms###m
Invalid maximum heap size: -Xmx###m"
I usually just shut my PC down when it wasn't working and then opened it first thing because hey, maybe it just hasn't hit the error yet? Retarded logic, I know, but it seemed to work. Then, some times, it wouldn't work and then 45 minutes later BOOM! good and working. I found no rhyme or reason to this until I closed my browser to restart and hit MC by accident and, lo and behold, it opened. Then I opened my Chrome again, tried to open another MC and got the error, closed it and MC worked like a dream.
NO clue why this works, just seems to. Give it a shot and see if it works for you.
P.S. - I just copied this and then closed my browser and it worked, opened it, pasted this message and was greeted with a virtual machine error.
Hope this helps /:
EDIT: ... and now it's working with my browser open as long as I keep the original one open... what?
Well this works in some cases but not for all;but anyway its worth a try.
All you need to do is go to your control panel
uninstal your java.
Download Java 6
Then done!
It should work again.
I am on a mac, and I am having a similar problem. I can launch minecraft just fine from the official launcher. But if I launch minecraft through MCPatcher or the FTB client, it crashes. I can't find a download of java 6 for OSX (I am on 10.8.2 BTW).
-tlf
-tlf
http://www.java.com/en/download/manual.jsp
manual download of the 64 bit is here, officail java site, so its safe.
Also this is for Windows (sorry mac users =( I have no answers for you
Well it worked for me
operable program or batch file.