Whenever I try to launch minecraft I get this error
The registry refers to a nonexistent java runtime environment installation or the runtime is corrupt. The system cannot find the file specified"
I've uninstalled and reinstalled the latest java and tried both .exes.
in CMD do: java -version
if it can't get a java version do the below.
1. Right click Computer
2. Click properties
3. Click "Advanced system settings"
4. Click "Environment Variables"
5. Under system variables, find the Path variable
6. Click edit, and append to the end of the value: ";C:\Program Files (x86)\Java\jre6\bin"
7. Now re-open the command prompt and try again.
Private Mod Note
Rollback Post to RevisionRollBack
need any type of support, minecraft related or not feel free to send me a PM. also on steam! PM for that too
i am currently busy writing some SQL. PM support may be slow
Exactly same thing is happening to me. It's also making it unable to open and download other programs.
I"ll go to the Java page to download the newest Java and I'll get an error telling me "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupt. The system cannot find the file specified". I do the Java check to see if Java is running and Firefox prompts me to download JRE, which I can't. I go to uninstall Java and I get the same error.
Since I can't open some other files, Shimeji for example, I'm assuming it's the Windows Installer. From the Windows Installer page, none of the versions seem to work on my computer.
I've just had this problem and spent an hour fixing it, as this thread appears at the top of the Google results I thought I'd add my solution here:
1. Search for and delete the 'javasoft' folder in the registry
2. Delete the 'sun' folder in the windows directory and the 'users/appdata' folders
3. delete any 'java' files from 'windows/system32'
I fixed this for myself, after days of tribulations:
Adding the Java thing to the Path variable didn't make a difference to start, and typing in 'java -version' in cmd posted an error. However, that error showed that it was looking in the E:\ drive for the AMD64 Java, which wasn't installed. Additionally, trying to install the AMD64 Java resulted in a silly 'invalid character' error for 'Program Files', so it couldn't install.
I fixed it now though, by regediting Computer/HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/ and then each time that the E:\... directory showed up, I replaced it with C:\Program Files (x86)\Java\jre6. Then, the AMD64 Java install worked, wonderfully, and everything else then worked, including 'java -version' and Minecraft.exe.
I had the same problem, searched all over the internet and found one comment in the youtube that you should use Microsoft cleanup utility to delete Java, then install it again. Dunno about you guys but it helped me.
In Oracles attempt to make Java more "User friendly" They no longer let you choose the version of Java you want. They choose for you. It was incredibly hard to find the 64 bit version of the jre. In fact I don't think that the Java site has a direct link at all.
Every time I downloaded Java off of the Java site, it would re-install the 32 bit version of Java on my machine. (Even though I'm running on a 64 bit computer. (Might be because I'm using Google Chrome.)
I had to get a version uploaded to CNET.
Simply download this and install it and your minecraft executable should run fine.