Log in

View Full Version : Cannot Create the Java Virtual Machine!


Fubb
31-03-2011, 01:51 AM
Everytime I try and play Minecraft i get the same error; "Cannot create the java virtual machine"

Ive looked at the forums, and the most I can find is to create a .bat file and putting java -xmx512m -jar "C:\Minecraft\Minecraft.jar" and that opens the game, but then I cant play offline....

But when i try and run the normal .exe or jar file, the error comes up. Ive downloaded JDK and updated my Java and nothing helped. Any ideas?

Japo
31-03-2011, 04:37 PM
Dunno, try un-installing and re-installing Java. But that's the JRE (Runtime Environment) the JDK (Developer's Kit) is to make your own programs and you don't need it or use it to run the programs.

Topic moved to Tech since abandonia.com/troubleshooting is for AB games only or at least similar old games.

GTX2GvO
01-04-2011, 06:51 AM
.....to create a .bat file and putting java -xmx512m -jar "C:\Minecraft\Minecraft.jar".....

I believe you need to either input THE WHOLE path to the java executable in your .bat file OR put the Whole path to the java executable in the PATH= environment variable of the OS.