Yesterday I wanted to learn how to mod a bit (this isn't a problem about modded minecraft though), so I looked at a beginner tutorial. It said that I needed to download Java Jdk and change my Path environment variable to this directory, so I did. But now, I can't open Minecraft. Each time I try, it says:
"The registry refers to a nonexistent Java Runtime Environment Installation or the runtime is corrupted"
I know it's probably because the Path variable links to the wrong directory, but I don't know how to fix this. (And I forgot to write down the old Path) I tried all these Paths: (some of these might be weird, but I looked on other threads and that's what they said)
So, I really don't know what to do. I know there are other threads about this problem, but I went on a lot of them and no one solved my problem. Thanks!
(btw, I have the latest Java version, and my OS is Windows 8)
Edit: Just realized I had to put ANOTHER Path, not delete the old one :/
Yesterday I wanted to learn how to mod a bit (this isn't a problem about modded minecraft though), so I looked at a beginner tutorial. It said that I needed to download Java Jdk and change my Path environment variable to this directory, so I did. But now, I can't open Minecraft. Each time I try, it says:
"The registry refers to a nonexistent Java Runtime Environment Installation or the runtime is corrupted"
I know it's probably because the Path variable links to the wrong directory, but I don't know how to fix this. (And I forgot to write down the old Path) I tried all these Paths: (some of these might be weird, but I looked on other threads and that's what they said)
C:\Program Files\jdk1.8.0_05\lib\amd64\jvm.cfg
C:\Program Files\jdk1.8.0_05\bin
C:\Program Files\java\jdk1.8.0_05\lib\amd64\jvm.cfg
C:\Program Files\java\jdk1.8.0_05\bin
C:\Program Files (x86)\Java\jre7
So, I really don't know what to do. I know there are other threads about this problem, but I went on a lot of them and no one solved my problem. Thanks!
(btw, I have the latest Java version, and my OS is Windows 8)
Edit: Just realized I had to put ANOTHER Path, not delete the old one :/