Error: could not find java.dll

This problem generally occurs in windows when your "Java Runtime Environment" registry entry is missing or mismatch with the installed JDK. The mismatch can be due to multiple JDKs.

Steps to resolve:

1) Open the Run window:
         Press windows+R

2) Open registry window:
         Type "regedit" and enter.

3) Go to: \HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\

4) If Java Runtime Environment is not present inside JavaSoft, then create new Key and give the name Java Runtime Environment.

5) For Java Runtime Environment create "CurrenVersion" string key and give appropriate version as value:
 

6) Create a new subkey of 1.8.

7) For 1.8 create a string key with name JavaHome with the value of JRE home.

8) That's it. Done!

Comments

Popular Posts