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.
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
The account is not an administrator level user then? This very well could be your problem. If you have an account on the computer that is an administrator I would recommend logging in with that user and just doing a test install of minecraft there to see if it runs okay from there to see if this is really your issue. If you go into the control panel and look at the user accounts there it should show a list of users and their permission levels are listed to the right under the 'Group' heading.
Changing the hidden system administrator account password if you don't know it is not possible (without a lot of hassle). This password is setup when the OS is installed. It's possible that your PC manufacturer support center will tell you whatever the factory default is they use for their computers. I'm not sure how that is usually handled.
by c0yote
I tried it with terrible results. I gave my wife my glasses for a second, a creeper showed up and now my wife is pregnant.
Stupid 3D..
I only see 3 accounts (mine, ASP.NET and Guest). My account probably has Admin permissions because I've had it for 5 years and there is nothing I've ever not been able to do.
Actually I just guessed the Administrator password and it worked. I still get the same error though.
by c0yote
I tried it with terrible results. I gave my wife my glasses for a second, a creeper showed up and now my wife is pregnant.
Stupid 3D..
I have a 32 bit machine and 32 bit Java installed....
Thank you. Trying this now.
[spoiler][code]
==Advanced Minecraft error test v1.0== - by theFriedZombie
==Computer info==
SystemManufacturer: Unkown
SystemProductName: Unkown
SystemFamily: Unkown
SystemVersion: Unkown
Processor: x86 Family 6 Model 15 Stepping 6, GenuineIntel
NumberOfProcessors: 1
Physical memory: MB installed, 3071 MB available, 1514 MB free
Virtual memory: 2046 MB allocated, 1994 MB free
OS: Microsoft Windows XP, Service Pack 3, 32bits
userprofile: C:\Documents and Settings\xxxx
==Video controller info==
I tried that code but clicking the bat file does nothing. A DOS window pops up momentarily but not long enough to see what it says.
I did the exact same thing and if you type pause in the next line when your're editing the file it will show you that there is not enough memory reserved for object heap, and initialization of JVM failed.
Does that mean we have to allocate more RAM to MC?
I already have allocated 1.5 GB of RAM to it. Any other solutions to the problem?
I tried this:
java -Xmx500M -cp minecraft.exe net.minecraft.LauncherFrame 2> errorlog.txt
pause
I do get a DOS window but my OS is Japanese and my reading comprehension is not great. So I can't really read teh error. I have tried editing it to 1000M, 1400M even 2400M and it still won't run.
Minecraft runs on my Laptop which has 2gb. This PC has 3gb. But MC is too slow on the laptop to be able to play.
I did exactly what you did and here is the error log.
java.io.FileNotFoundException: C:\Documents and Settings\Ashhad\Application Data\.minecraft\lastlogin (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.minecraft.LoginForm.readUsername(LoginForm.java:110)
at net.minecraft.LoginForm.<init>(LoginForm.java:55)
at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:23)
at net.minecraft.LauncherFrame.main(LauncherFrame.java:167)
It doesn't seem to generate an error log. I have both bat and Minecraf.exe in My Documents but no errorlog.exe is generated.
Definitely Java 7 Update 21
The DOS window (in Japanese):
"指定されたパスが見つかりません" means The Specified bus cannot be found.
When I press any key the DOS window disappears and nothing else happens.
I deleted the .minecraft folder from Application Data. There is no way to "install" minecraft from the website. There is just the exe file which still does not run with the same error. The .minecraft folder came from the PCGamer demo my son was running.
So I have no Minecraft files on my computer and no way to get Minecraft files onto my computer. I suppose the exe file does the install and it does not work.
Okay, so went to the browser game, that installed the files. Edited the bat file to 500M and it still gives the exact same error. Frustrating.
I certainly appreciate your efforts. Here is the DxDiag:
Yep, just did an update the other day.....
Okay, thanks for the efforts.