Path - C:\Program Files\Java\jdk1.7.0_71\bin Reinstall Java and set system variable JAVA_HOME to your JRE (or JDK) path.Įg: JAVA_HOME - C:\Program Files\Java\jdk1.7.0_71 Type 1.4.2_18 in search field, finds registry key for jre1.4.0_18.Type 1.4.2_12 in search field, finds registry key for jre1.4.0_12.Type 1.4.2_01 in search field, finds registry key for jre1.4.0_01.Where xxx can be 01, 12, 13, 14 and so on. Steps for finding registry keys for any version of Java 1.4.Type 1.5.0.180 in search field, finds registry key for jre1.5.0_18.Type 1.5.0.120 in search field, finds registry key for jre1.5.0_12.Type 1.5.0.100 in search field, finds registry key for jre1.5.0_01.Steps for finding registry keys for any version of Java 1.5
JAVA SE 6 RUNTIME ENVIRONMENT UPDATE
Steps for finding registry keys for any version of Java 6 Type 7.0.180 in search field, finds registry key for Java7 update 18.Type 7.0.120 in search field, finds registry key for Java7 update 12.Type 7.0.100 in search field, finds registry key for Java7 update 10.Steps for finding registry keys for any version of Java 7 Once you find registry key, highlight that key and then Right click on it and choose Delete.Enter version string as value to find corresponding registry entry to be deleted.Note: Highlight Uninstall folder before performing search for particular registry.Under this Uninstall folder you will find many registry entries within curly brackets.Go to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall.Clean up your registry (delete your java key):.If java folder is remains in “C:/Program Files/…”, please delete it. Delete all previous versions of Java (using “Programs and Features” uninstall process).Follow our steps below to get your Java commands via command prompt working again, and leave a comment in the comments section if you encounter any further issues (or know of a better solution).
Luckily, this is fairly easy to fix, as it just requires addressing one of the above problems with the appropriate solution.
Error output when trying to run Java commands in Command Prompt.