Java Error opening registry key
Make sure you remove any java.exe
, javaw.exe
and javaws.exe
from your Windows\System32
folder and if you have an x64 system (Win 7 64 bits) also do the same under Windows\SysWOW64
.
If you can't find them at these locations, try deleting them from C:\ProgramData\Oracle\Java\javapath
.
Error opening registry key ‘Software\JavaSoft\JRE’ while installing elki
ELKI doesn't know what the Windows registry is.
The error supposedly originates from Java - so there is something broken in your Windows Java installation. Others have reported the same error when running java -version
. I'd expect other Java programs to be affected, too: if you search for the error message, you will mostly find it with other software, e.g., here: Install Java 11 OpenJDK on Windows (a system path issue)
I suggest that you (1) uninstall all Java versions, (2) run "java -version" to make sure you really removed all, (3) reboot, Windows needs this to reset some system variables, (4) reinstall the Java version(s) you intend to use (5) reboot once more, in case Java installation changed the system variables once more. If that worked, please report so.
Nevertheless, the ELKI 0.7.1 release will not work with Java 11. You will need to compile the latest version from Github, because of subtle incompatibilities in Java. These are already fixed in ELKI (removing a cast that no longer worked, but also was not necessary), there just has not been a new release yet, sorry. It is developer software, users are expected to use the source. Right now, ELKI is only well tested with Java 8, because of the module mess introduced in Java 9, and not all dependencies being ported to the module system yet.
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'?
On my Windows 7 machine, it was solved by doing the following:
- In the START menu type "regedit" to open the Registry (be careful doing this)
- Go to "HKEY_LOCAL_MACHINE" on the left-hand side registry explorer/tree menu
- Click "SOFTWARE" within the "HKEY_LOCAL_MACHINE" registries
- Click "JavaSoft" within the "SOFTWARE" registries
- Click "Java Runtime Environment" within the "JavaSoft" list of registries
- Highlight "CurrentVersion" (should see it in the main registry key explorer window on the right)
- Change version to "1.7"
That is all... should work. Short of that, if you've already tried some other guides and/or messed up your registries, the most certain way to deal with the problem is to delete all previous versions of Java (using "Programs and Features" uninstall process) and then re-install just the version you want to work with. I'd suggest the distribution site at:
http://java.com (as it usually has the most stable version)
Or look for a specific version you need from Oracle's site:
http://www.oracle.com/technetwork/java/javase/downloads/
Registry key Error: Java version has value '1.8', but '1.7' is required
After trying more than hundred of tricks, finally got success.
I removed all java.exe
, javaw.exe
and javaws.exe
from my
Windows\System32
andWindows\SysWOW64
folder. [Try step 2 if you have x64 system (Win 7 64 bits)]
Java Registry key error on windows 8 cmd
Sounds strange. I'd try to uninstall all present Java installations and then reinstall the ones you need.
Related Topics
What Is the Point of Setters and Getters in Java
How to Get Information About the Local Variables Using Java Reflection
Difference Between Break and Continue Statement
Mock a Constructor with Parameter
Java.Lang.Nullpointerexception Is Thrown Using a Method-Reference But Not a Lambda Expression
Eclipse Is Confused by Imports ("Accessible from More Than One Module")
Cast Double to Integer in Java
Compile-Time Constants and Variables
Is Jdk "Upward" or "Backward" Compatible
Concurrentmodificationexception When Adding Inside a Foreach Loop in Arraylist
Why Business Logic Should Be Moved Out of Jsp
How to Get the Last Value of an Arraylist
Performance Differences Between Arraylist and Linkedlist
Why Does Parallel Stream with Lambda in Static Initializer Cause a Deadlock