Cannot Install JDK

java

For the life of me, I can't install the JDK on Windows Vista. I keep getting the error, "This Software Has Already Been Installed on Your Computer. Would you like to reinstall it?" Problem is, it's evidently not on my computer, since I can't a) run Eclipse – I get "Could Not Find Java SE Runtime Environment" or b) Find any reference to Java from the command line when typing java -version – I get "Error opening registry key 'Registry/JavaSoft/Java Runtime Environment." Any ideas?

Best Answer

Go to regedit and then go to HKEY_CLASSES_ROOT\Installer\Products\ look for Development kit and delete the key

Related Question