Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Apr 7 '10 at 6:23

This question came from our site for professional and enthusiast programmers.

    
Did you remember to add it to your PATH? You need to edit the environment variable "PATH" and have it point to the folder containing "java", "javac", etc. –  Michael Aaron Safyan Apr 7 '10 at 4:12
    
Just run command prompt and set path - SET PATH=%PATH%;<Java install directory>\bin\ –  Tejaswi Yerukalapudi Apr 7 '10 at 4:28
add comment

3 Answers

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

share|improve this answer
    
This tip helped me on Windows 8.1. The Microsoft tool to fix (un)installers is not available anymore. CCleaner did not help. Manually deleting the entries worked fine. - Thanks –  Bruno Ranschaert Oct 20 '13 at 13:34
add comment

You probably just need to set your "PATH" environment variable as explained in the Java 6.0 Installation Notes for your platform. This will cure the problem for running "java" and "javac" from the command line and for running Eclipse.

You should be able to confirm that Java is installed by going to the relevant Windows control panel (whose name temporarily escapes me) and looking for the JDK / JRE in the list of installed software.

share|improve this answer
add comment

First check your PATH environment variable (my computer-> properties->Advanced, environment variables) to see what java executable is in your path. If it is something obsolete, clear it up. second, as @Stephen C says, un-install your version that is apparently in your computer. Goto control panel-> Add/remove programs -> JRE/JDK then un install.

Then try downloading latest Java 2 standard edition installer

Good luck!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.