• Register
0 votes

Problem :

I am getting bellow error while checking java SE version

error: could not find java.dll error: could not find java se runtime environment.

6 5 3
6,930 points

2 Answers

0 votes


Steps to resolve this issue:

  1. Open the Run window:

  2. Open registry window:


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

  5. Create "CurrenVersion" for Java Runtime Environment string key and give appropriate version as value as shown below:

    JRE regedit entry

  6. Now Create a new subkey of 1.8.

  7. Create a string key for 1.8 with name JavaHome with the value of JRE home as shown below:

    JRE regedit entry 2

Further Readings:


9 7 4
38,600 points
0 votes

When the user try to open the .jar file through command prompt, then you can encounter the following error;

Error: Could not find Java SE Runtime Environment.


  • Corrupted Registry
  • Missing java path in your environment variables
  • Java installation folder being removed


We can encounter this issue when we try to update Java SE to the latest version. We previously have 32 bit java installation and when we run 64 bits java installer, then our java path changed.


For fixing this error, requires addressing one of the above problem that appropriate according to solution.

Just follow the following steps to make workable through the command prompt.

  • Delete all the previous versions of java. If the java folder remains in “C:/Program Files/…’, then delete it.
  • Clean up your registry.
  • Go to the start menu and run again.
  • Type “Regedit” in the edit file.
  • Go to  HKEY_LOCAK_MACHINE/Software/Microsoft/Windows/CurrentVersion/Uninstall.
  • Under this uninstall folder you can find many registry entries with curly brackets.
  • Click on the edit tab and then Find tab.
  • Must highlight the uninstall folder before performing a search for a particular registry.
  • Enter the version string as value to find corresponding registry entry to be deleted.
  • When you find registry entry, highlight that key and then right-click, choose delete.
  • After confirmation of delete click on Yes.


11 5 1
3,890 points

Related questions

0 votes
1 answer 78 views
Problem : I am getting bellow error while running my program and unable to figure out what the solution would be a fatal error has been detected by the java runtime environment:
asked Nov 5, 2019 peterlaw 6.9k points
1 vote
1 answer 43 views
Problem: I am very new to Java and all its concepts. I want to know what is the need of build-time dependency’s presence when any application is run ? I am struggling to get this information but I am unable to find much details about this concept. Please help me in getting all the details of the concept.
asked May 18 Martin K 6.6k points
0 votes
2 answers 367 views
Problem : I am getting the bellow error: Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required.
asked Oct 31, 2019 peterlaw 6.9k points