Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Java Virtual Machine Launcher error


  • Please log in to reply
6 replies to this topic

#1

Charlie2531games

Posted 17 February 2012 - 12:20 AM

Alright, this is somewhat related to minecraft, I know, but I couldn't find any other places to put this thread. Every time I try to open the minecraft launcher, a pop-up comes up that says: Could not create the Java Virtual Machine. I've looked for help on the internet, and have only found things that waste my time. Anyone who can help fix this?

Edit: disregard the part about this possibly being on the wrong thread, it was moved.
Intel i7 3770k, 16GB RAM, 60GB SSD, 500GB HDD, Nvidia GeForce GTX 560
Posted Image

Register or log in to remove.

#2

JDos17
    JDos17

    Iron Miner

  • Members
  • 291 posts
  • Location: North Carolina
  • Minecraft: General_Ghosty
  • Xbox:The7Thunders

Posted 17 February 2012 - 02:10 AM

View PostCharlie2531games, on 17 February 2012 - 12:20 AM, said:

Alright, this is somewhat related to minecraft, I know, but I couldn't find any other places to put this thread. Every time I try to open the minecraft launcher, a pop-up comes up that says: Could not create the Java Virtual Machine. I've looked for help on the internet, and have only found things that waste my time. Anyone who can help fix this?
You probably have some broken links... Are you running Java 6 or 7? Windows XP, Vista, or 7?

Try using this .Bat launch code.

@echo off
Java.exe -Xmx1024M -Xms1024M -jar "C:\%homepath%\Desktop\Minecraft.exe"

Copy this into notepad and save it as Minecraft Start.bat

If that didn't work try this code instead...

@echo off
Java.exe -Xmx1024M -Xms1024M -jar "C:\%homepath%\Desktop\Minecraft.jar"

Copy this into notepad and save it as Minecraft Start.bat


If none of this stuff worked.. Download Java 7

Link: http://www.oracle.co...oads/index.html

Scroll down a little bit... not much and click the orange "Download" box for the JRE Version... Not JDK.. unless you want to make mods...
Posted Image

#3

Charlie2531games

Posted 17 February 2012 - 02:34 AM

I tried all three. The first two said they were unable to open it. Updating Java didn't help either. All it did was change the error message to saying:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. The program will exit.

Anything else that should work?
Intel i7 3770k, 16GB RAM, 60GB SSD, 500GB HDD, Nvidia GeForce GTX 560
Posted Image

#4

gerbil
    gerbil

    Support Guru

  • Members
  • 4923 posts

Posted 17 February 2012 - 02:27 PM

Are you doing anything other than clicking on minecraft.exe ?

#5

Charlie2531games

Posted 17 February 2012 - 10:23 PM

No, I didn't do anything other than it. My friend did install a mod a few weeks ago, but that was before it stopped working.
Intel i7 3770k, 16GB RAM, 60GB SSD, 500GB HDD, Nvidia GeForce GTX 560
Posted Image

#6

Charlie2531games

Posted 23 February 2012 - 08:32 PM

Does anyone know how to fix this? I haven't been able to play minecraft in weeks. It hasn't even worked in the browser. I have tried redownloading it, but it still doesn't work, and I have a feeling that the problem with the in-browser version is because my computer's so slow. I opened the .exe with WinRAR and tried to delete the METAINF file in case some virus or something had changed something, seeing as if I remember right, the METAINF file prevents it from working if there have been changes, but when I try to delete it, it says it can't because the file's corrupt. I opened up the downloader and went right to run, but the same thing happens.

Oh, and I'm using Java 7 on Windows XP Professional.
Intel i7 3770k, 16GB RAM, 60GB SSD, 500GB HDD, Nvidia GeForce GTX 560
Posted Image

#7

JDos17
    JDos17

    Iron Miner

  • Members
  • 291 posts
  • Location: North Carolina
  • Minecraft: General_Ghosty
  • Xbox:The7Thunders

Posted 19 March 2012 - 09:43 PM

Ok lets just reset the Minecraft folder.

Goto Start > Run and type in CMD
then type in

Start explorer.exe %appdata%

Then double click .minecraft then copy the saves folder. Then delete the .minecraft folder. Run minecraft to redownload the files.  Repeat the process and drag and drop the old saves file into .minecraft
Posted Image