The free Java Runtime Environment (JRE) provides essential building elements to execute Windows 11 Java applications. It includes a Java Virtual Machine (JVM), essential libraries, and classes. If Java Runtime Environment is not present in Windows 11, dependent programs cease to function properly.
You may encounter this problem if Java is not installed correctly, dependent apps are corrupted, or multiple Java versions are installed on the computer. We have explored the most practical solutions, and in this guide, we walk you through all their basic steps. Let’s go.
Prerequisite: Install Java Properly
If you’ve not installed Java or have installed it incorrectly, all applications that rely on it will return the error message: “Java Runtime Environment not found”. Before you advance to the solutions below, you should check the status of Java on the computer. Here’s how.
Step 1: Click the magnifying lens on the Taskbar, type Command Prompt, and click the Run as Administrator option.
Step 2: Type the command below and hit Enter to check your Java status.
java -version
Step 3: Running the command will display the version of Java on your computer if installed correctly. If not, you may receive an error message.
2. Repair the Java Dependent Application
You should also investigate the possibility of a corrupt Java-dependent application. Some programs come with a repair option. While the repair steps may vary by program, generally, most apps follow the process outlined below.
Step 1: Head on over to the search window on the Taskbar, type control, and click the Uninstall a program option.
Step 2: Select the app under the Name column, then click any of these available options: Change, Uninstall/Change.
Step 3: Click the Repair button and follow any instructions to complete the process.
3. Reinstall the Java Dependent Application
If repairing the dependent application does not work, you should consider reinstalling the application. Before reinstalling it, however, you must completely uninstall the application and ensure you reinstall from a freshly downloaded copy.
This way, you are guaranteed that any corruption that affected the older installation will not affect the new one.
4. Download and Install the Java Runtime Environment
After you run the Java -version command, if you discover Java is not present on your computer, you must download and install it. This will require visiting the official Java website. The steps below will walk you through the process.
Step 1: Visit the official website and click on the green Download button.
Step 3: Double-click the downloaded file to start the installation.
Step 4: Click the Install button.
Step 5: Close the installer and verify the problem is fixed.
5. Uninstall Conflicting Java Versions
Are you still encountering the application error even though Java is already installed? If so, it could indicate corruption within the Java Runtime Environment or conflicting Java versions. In this case, you may resolve the conflicts by completely removing older Java versions and leaving only the most recent one.
6. Allow Java Through Your Firewall
The Windows 11 firewall helps protect your computer by blocking threats, unwanted programs, and other malicious software. Having said that, some programs may ask for permission to pass through the firewall. If the firewall blocks Java, you will get the Java Runtime Environment is not found error. Here’s how you can fix the same.
Step 1: Click the magnifying lens on the Taskbar, type allow, and click ‘Allow an app through Windows Firewall.’
Step 2: Click the Change Settings button and Allow another app.
Step 3: Click Browse, navigate the path below, and add your Java installation.
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Java
Step 4: Click the OK button, and the Java error should be solved.
Moving Past the Java Application Error
A few people may encounter problems where they cannot locate or load the Java Runtime Environment. This problem is often linked to certain corruption within the app or JRE. You would have successfully resolved it by walking your way down the solutions we explored.
Which of the solutions did you find most effective? Please tell us in the comment section below.
Categories: How to
Source: thpttranhungdao.edu.vn/en/