The Meaning of Life, the Universe, and Everything.
I knew the only change to my son's computer since Minecraft had not been producing the virtual machine error was adding BitDefender, so it was not hard to figure out game mode should be on. Worked immediately.
However, just this morning, I started getting the same error whether or not game mode was turned on. It has nothing to do with the Beta 1.4 update because it worked fine until this morning, the Sunday following the update. So take this, Notch:
Nothing to do with Jave (per se), nothing to do with virtual machines, or memory.
My security software (Bitdefender) asked permission to run the program which I give and it still fails, but it set me thinking. Bitdefender Game mode was not on - I play most (all) games with Game mode OFF. So I turned it on. Voila! It works!
I've now set it from on permanently to automatic and added a ruler for Minecraft. Still works.
Can't believe the stress caused for such a simple thing. I hate the idea of messing about with memory and system settings and the like - I know just enough to be dangerous. So pleased that this turns out to be much more simple.
Hopefully this might help some other people.
I had BitDefender 2010 and had this same problem several months ago until I figured out this same solution. Been able to play with no problems. However, I needed to upgrade to BitDefender 2011 just the other day and now I can not play Minecraft. I have tried many suggestions and possible solutions but with no luck. BitDefender is now aware of this problem and is looking into it. Hoping for a solution in the next day or two. I will try and post an update when or if I get them. So, if you are using BD 2010 you should be okay but if you have to upgrade to 2011(which I did), you could run into a problem.
Well, I got a response back from BitDefender in regards to the Java problem. I have tried it and so far it appears to be working. For those of you who are using BitDefender Pro 2011, here is their solution:
In order to further investigate this issue, please follow the steps below:
1. Open the BitDefender Security Center, select "Options", then select the "Expert View".
2. Go to the "Update" module and click on "Settings";
3. Select the boxes next to "Prompt before downloading updates" from Confirm Update and Manual Update Settings;
4. Click on Apply;
5. Restart the computer in Safe Mode.
[How to restart in Safe Mode]
- Restart the computer (Windows Start button - Turn Off - Restart);
- Press the 'F8' key several times before Microsoft Windows begins to load; you need to press 'F8' until you will be displayed a text menu;
- Select 'SAFE MODE' in the text menu and press 'Enter'.
- Wait while Windows loads in Safe Mode; this process ends with a confirmation message; click 'OK' to acknowledge.
6. Browse to: C:\Windows\System32\drivers folder.
7. Locate file "bdfm.sys"and rename it into "bdfm.sy_";
8. Restart the computer in Normal mode;
9. Once the product will want to Update, please make sure to select only the Virus Signature option and not the Product Update one, as that will replace the file you renamed in Safemode.
10. Check if the issue still occurs.
If you are not seeing the file extension please go to Start -> Control Panel -> Folder Options -> View tab -> uncheck the option "Hide extensions for known file types".
Like I said, so far it is working. I am in further contact with them as to the change and whether or not there will be some kind of update to fix the problem. If you are using BitDefender 2010, turning on the Game Mode seems to fix the problem - at least for me it did. Any further information I get I will try and post here.
The fix above works, however, if you turn your computer off at night and start it back up in the morning, BitDefender will create the file that you changed making Minecraft not work again. You will end up with bdfm.sy_ AND bdfm.sys files. I'm waiting to hear back from BitDefender but in the meantime, in the next day or two, I might go back in and delete the one file to see what happens. I'll update again.
Hey im having the same problem with the could not create the Java Virtual Machine. Ive cleared up space on my hard drive, put game mode on, and pretty much did everything you guys have been talking about , but my problem right after i hit "Run" to download Minecraft. once i download the link they give us and i hit "run" the messages pops right up. Does anyone have any clue how to fix this problem?
For everyone who has this problem and using BitDefender 2011: I could solve it by adding the javaw.exe (the w isn't a typing error) to the exceptions in the antivirus section. There is a button "more settings" or something like that (sry I don't use an english version of BitDefender so i don't know if it is really called like this) where you can add exceptions. Browse to your java directory and add the javaw.exe.
It works fine for me now (even without game mode).
I just have the same problem this morning. (It work fine last night.)
And I just simply go to java.com and press the download java and install again,purely just cover the old(same vision) one without removing it.
I too have the could not create the java virtual machine error
It was working a week ago and I tried to install SPC mod but I didn't know how to do it. I tried to go back in minecraft but now it's the 'Could not create java virtual machine'
hello all, perhaps i have solution for you, because it worked for me, so i will explayin in simple way, goto server folder and run minecraft_server.jar, not minecraft_server.exe, i hope that i helped you because it realy worked for me and i didnt get that error. Enjoy in building cus i do :biggrin.gif:
It's the same code from the download page but with lower memory limits. I don't know how high up it could go before running into memory errors. The game runs fine, even after the login screen, but I don't know if it'll work for everyone.
I did have to delete a couple of the .dlls in the .minecraft\bin\natives folder to get the sound to work. Windows complained about the OpenAL64.dll file (probably because I'm running 32-bit Windows) and wouldn't enable sound in the game unless it wasn't there.
When I do this, then it says that 'java' is not a recognizable program.?????
Rollback Post to RevisionRollBack
<-- 'Nuff Said.
Quote from xMelirunex »
Pretty sure this engine was built in the '60s. In Siberia. By peasants. Using potatoes.
“Could not create java virtual machine“- the same problem like you guys. I did that .bat think it works but if i try to add to server Bukkit It`s say “Could not create java virtual machine“. Why should I do. I tried everything... Re-installing either the minecraft or java, disabling my Antivirus, but nothing... Please help me!
There's a new Java Version. I solved this problem because I thought I had the current version of Java(it's SUPPOSE to update automatically!) and I was to stubborn to check their site and it turns out there's a new version. Well, update technically. It's Java Version 6 update 27. I had 26. So yeah. You guys should check as well.
No problem. All right, so download Minecraft.jar and place it in a folder like C:\Minecraft. Now, open up the command prompt by going to the Start menu, clicking the Run item, and typing "cmd" (without quotes) in the box. In the command prompt, navigate to the Minecraft folder by typing
The command prompt window will show some text and the Minecraft game window should show up. This is what worked for me, but there's no guarantee it'll work for everyone. Kandelon, for example, seems to have tried the same thing but crashed after the login screen. It's worth a try, at least.
Ok, I'd not played Minecraft in a month or two; I was at the 1.8.1 version and my Java is currently at v6 u29. I came to give it another quick go and was also getting the failure to start with just the Windows BONK error noise. I tried reinstalling Java and that made no difference. I tried deleting the .minecraft folder and redownloading the Windows .exe... no luck.
But THE ABOVE did work. Which means it's a memory problem I assume? And yet nothing hardware wise has changed for me, and the minecraft .exe hadn't when I first tried. So is it a java setting that has, I wonder?
FINALLY! Minecraft works properly for me now; I'd tried everything, as mentioned previously, even going as far as getting the Java v7 beta which also didn't help... However what finally solved it for me was the November release of new graphics drivers, the 8.920.0.0 version, for my ATI 4670 HD. Yes, weirdly a problem with the previous most recent drivers for the card threw Java for a loop ONLY with Minecraft! I'd have never been able to solve it until a newer version it seems, except through the aforementioned .bat technique.