"Could not create the Java Virtual Machine"
Posted 03 July 2010 - 02:35 PM
I am currently getting an error in which the offline MineCraft client will not load. I download the executable and then double click it and it gives me an error stating: "Could not create the java virtual machine." It does not halt at a black screen, it does not hold up: it simply goes straight to the error message.
I have tried to run the java console and logging, to which it gave me no information: as if JVM was not even seeing or hearing from this executable. Others run this exe, even my exe, just fine. No log files are generated upon the error message being generated. I have tried running through command prompt, to see what is generated, but nothing is echo'd back or printed out there. I have deleted all of my temp directories for minecraft, except that which houses my saved game files.
I have googled this to all hell, and the best recommendation is "reformat, try that". I would rather not reformat my machine on a whim...
Is there anything anyone can think of to help me? I have reinstalled java several times, verified it is the latest version, and the game runs fine when being run from the browser.
Posted 03 July 2010 - 08:45 PM
Download and run the Minecraft.jar that's listed under "Linux" in the Download page. Exes are not exactly the most stable, but the .jar, being a Java executable file, should work in Windows since it's not built for one platform in particular.
Remember to run it with admin priviliges if it doesn't work the first time.
If that doesn't work, reply with your results here, and I'll try and narrow the problem down more.
Posted 04 July 2010 - 06:31 AM
Not sure if that helps narrow things down.
Posted 04 July 2010 - 01:34 PM
Reformatting is usually the cure-all. However, you really want to make sure it's an issue with the registry rather than something else.
If you have the time and a blank CD, try running a Linux distribution like Ubuntu (DO NOT INSTALL, just run it from the CD) and seeing if the problem persists. If it works on the cd-boot-Linux, then that means that, unfortunately, it is a registry error, and you may then have to:
1) Backup all your files
2) Find a good registry fixer
3) If #2 fails, reformat your disk/reinstall Windows
I'm sorry I can't help you further, but even the people over at Sun don't know what really causes this error.
Posted 04 July 2010 - 06:02 PM
Appreciate the effort, thanks again.
Posted 09 July 2010 - 09:19 PM
Now I know that reformatting and reinstalling the registry key has already been mentioned, but my computer is custom built and was sent to me from the lower 48 ((I live in Alaska)), so I don't have the XP installation disk. ((I'm also missing a few other programs, like microsoft works, which annoys me. This pC was basically optimized for playing TF2 and L4D, along with other PC games.)) I also don't feel completely safe reformatting my whole computer, since it's missing some components a normal XP system would have.
Is it possible to find a registry fix that won't require a full PC formatting? this is the only way I can really feel safe for my computer with the minimal chance of it exploding on me.
Thank you for reading~
Posted 10 July 2010 - 08:19 AM
I have no problems playing Minecraft in browser (Opera 10.60), but I'd really prefer playing it with client, because performance is much better this way.
Posted 30 March 2011 - 10:15 PM
It is your Antivirus's firewall blocking the program. I recently installed BitDefender 2011 and I had Norton before. After I uninstalled Bitdefender it worked perfectly.
Hope it helps!
Posted 08 April 2011 - 05:36 AM
(I tried to create an exception in the firewall / using Bit Defenders "Game Mode" as I did before to get it working but it didn't do anything.)
Posted 25 November 2011 - 12:59 AM
please pm me!
Edited by NightWarrior, 25 November 2011 - 12:59 AM.