• Register
0 votes
332 views

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

Please log in or register to answer this question.

2 Answers

0 votes

Solution:

Steps to resolve this issue:

  1. Open the Run window:

  2. Open registry window:

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

  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:

https://github.com/payara/Payara/issues/879

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.

Factors:

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

Example:

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.

Solution:

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 2
3,890 points

Related questions

0 votes
1 answer 8 views
8 views
Does anyone know how I can get rid of this issue? I could do one more uninstall/install but I think that be a waste of time and won't make a difference.
asked Jan 23 TeamScript 13.5k points
0 votes
1 answer 10 views
10 views
why do I get this? How can I fix it?
asked Dec 18, 2020 TeamScript 13.5k points
1 vote
1 answer 117 views
117 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, 2020 Martin K 6.6k points
0 votes
1 answer 38 views
38 views
I am new to this. I just want to know how to do that? I have a Java project I am working on and I get this error.
asked Dec 19, 2020 TeamScript 13.5k points
0 votes
1 answer 90 views
90 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
0 votes
1 answer 6 views
6 views
How to fix this error? Showing me with Java runtime environment not found! Can anyone fix this problem and provide a solution here.....
asked Dec 21, 2020 ZarinaShaik 320 points
0 votes
1 answer 40 views
40 views
Problem: this application requires a java runtime environment 1.8.0
asked 5 days ago Dan phillip 1.8k points
0 votes
1 answer 6 views
6 views
Problem: Eclipse is unable to open, have used eclipse before and has open before without a problem. Now I keep getting the following error message: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual ... : Have gotten eclipse to open and work on projects before and won't open. Here is a screen shot of what I keep getting:
asked 6 days ago Ali 4.3k points
0 votes
1 answer 15 views
15 views
I'm trying to start the JBoss server. I tried some steps and I could not find the right solution.
asked Feb 9 TeamScript 13.5k points
0 votes
1 answer 9 views
9 views
Eclipse is unable to open, have used eclipse before and has open before without a problem.
asked Jan 2 TeamScript 13.5k points