Error when using Java

Jake Petroules's Avatar

Jake Petroules

14 Aug, 2015 10:58 AM

When attempting to execute java, I get:

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'?
has value '1.8', but '1.7' is required.?
Error: could not find java.dll?
Error: Could not find Java SE Runtime Environment.?

Usually this is due to Java being installed incorrectly, maybe because 1.8 was installed first, then 1.7? Notice the registry says 1.8 is current, but 1.7 is the one in PATH, this is inconsistent.

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Aug, 2015 03:14 PM

    Feodor Fitsner's Avatar

    1.8 was installed after. Tried updating PATH to point to 1.8?

  2. 2 Posted by Jake Petroules on 01 Sep, 2015 05:03 AM

    Jake Petroules's Avatar

    I think you should update Software\JavaSoft\Java Runtime Environment'\CurrentVersion to 1.7 to be consistent with the default in PATH.

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Sep, 2015 02:27 PM

    Feodor Fitsner's Avatar
  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac