- Saved searches
- Use saved searches to filter your results more quickly
- «This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted» when starting IDE #10374
- «This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted» when starting IDE #10374
- Comments
- Fix: Registry refers to a nonexistent Java Runtime – Launch4j
- What is causing the “registry refers to a nonexistent Java Runtime Environment” error
- Method 1: Removing inexistent registry entries for JavaHome and RuntimeLib
- Method 2: Uninstalling Java and installing the Java JDK
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
«This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted» when starting IDE #10374
«This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted» when starting IDE #10374
Comments
Hello.
I have the problem with starting Zipped Arduino program.
I wanted to download one of old versions arduino-1.6.5-r5-windows on my windows 10 Home edition x64. OK I unzipped folder. So when I open arduino.exe application in unzipped folder and after I get error message from Arduino, which says:
This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.
After I press OK button, message goes away, but app does not appear at all.
I thought I don’t have java on my new PC. However, the problem is still present.
OK. I deleted zipped version and tried to install via Windows Installer. However, it has NSIS Error which says : Error launching installer. So I had to delete installer file too.
I tried all the same with version ARDUINO 1.8.12 and the same steps had failed too. so I got to delete folders and installer file too again.
I even tried to bring version of arduino-1.6.5-r5-windows zipped version from my laptop to PC on usb stick. Same error. So unfortunately got to delete zipped and unzipped folders.
After that I went to Microsoft Store. I found it, downloaded. The version is ARDUINO 1.8.12. It opens and shows all functions that should be. However, I got a problem with adding up zipped library which I downloaded from www.OSEPP.com official website.
I wrote about my problem yesterday in Arduino forum, but no answer yet.
Please help. Could anyone tell which Windows version is OK and which version of Java is good to work with Arduino application?
The text was updated successfully, but these errors were encountered:
Fix: Registry refers to a nonexistent Java Runtime – Launch4j
Some users report getting the “registry refers to a nonexistent Java Runtime Environment” error when trying to open certain application executables. Most affected users report that this issue started to occur abruptly ( they where previously able to run the same executable without issues).
What is causing the “registry refers to a nonexistent Java Runtime Environment” error
We investigated the issue by trying to replicate the issue and looking at various user reports. This particular error message is an indicator that you have remnants from an old Java installation in your Registry editor.
Based on what we found, there are several common scenarios that will lead to the apparition of this issue:
- The Registry contains entries that don’t lead to the actual Java path – This typically occurs if you move the software to a different directory (manually) after the initial installation. The issue can be rectified by manually removing the registry entries that don’t correspond manually.
- Incomplete or corrupted Java Installation – Several users have managed to resolve this particular issue by uninstalling Java and then re-installing the JDK. User speculation suggests that a corrupted file or glitch might have caused this.
If you’re currently struggling to resolve this particular issue, this article will provide you with a collection of verified troubleshooting steps. Below you have several methods that other users in a similar situation have successfully used to resolve the issue.
For the best results, follow the methods below in order until you encounter a fix that resolves the problem in your particular scenario. Let’s begin!
Method 1: Removing inexistent registry entries for JavaHome and RuntimeLib
Several users encountering the same issue have managed to get the issue resolved by removing those JavaHome and RuntimeLib registry entries that don’t refer to an existent path.
Every JavaHome variable should refer to a path similar to \bin\client\jvm.dll while each RuntimeLib should refer to an existent jvm.dll file. But because this issue occurs, you might find one or multiple variables that do not have the corresponding path or file.
This might happen if you recently removed the software to another directory after you installed it. If you manage to find any registry variables, you’ll need them to remove them manually.
This procedure will require some manual work and a small amount of technical expertize, but it might allow you to resolve the issue without having to re-install the whole Java Runtime Environment. If you are prepared to go through with it, we have prepared a step by step guide through the whole thing. Here’s what you need to do:
- Press Windows key + R to open up a Run dialog box. Then, type “regedit” and press Enter to open up the Registry Editor. When prompted by the UAC (User Account Control), click Yes at the prompt.
- Inside the Registry Editor, use the left pane to navigate to the following location:
Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ JavaSoft \ Java Runtime Environment
If this method was not successful or you’re simply looking for a more simple fix, move down to the next method below.
Method 2: Uninstalling Java and installing the Java JDK
If you’re encountering this issue when trying to launch Minecraft or a similar application that relies on the JDK, you might be able to resolve the issue by uninstalling the whole Java environment and then re-installing the JDK (Java Development Kit).
Here’s a quick guide on how to do this:
- Press Windows key + R to open up a Run dialog box. Then, type “appwiz.cpl” and press Enter to open up Programs and Features.
- Inside Programs and Features, click on the Publisher column, then scroll down to the entries published by Oracle Corporation.
- Next, proceed to uninstall every Java installation (or update) by right-clicking on each entry and clicking Uninstall. Then, follow the on-screen prompts to complete the uninstallation with each entry.
- Once you uninstall the Java environment completely, restart your computer.
- At the next startup, visit this link (here) and click on on the Download button.
- In the next screen, scroll down to Java SE Development Kit and click the toggle associated with Accept Licence Agreement. Then, click on the executable download link associated with Windows.
- Open the JDK installer and follow the on-screen prompts to install the JDK environment on your PC. Restart your computer if not automatically prompted to do so when the process is complete.
- At the next startup, you should be able to start the application without encountering the “registry refers to a nonexistent Java Runtime Environment” error.