
jar developed using JDK 1.8 and didn’t workĬreate a shortcut for the. But instead I found a work around solution myself. So in my situation it is impossible to just double click the. It is not a good idea (sometimes annoying) to change the registry key every time I want to run an app build from a different version. If we look at the registry key: HKEY_CLASSES_ROOT\jarfile\shell\open\command, it will point to latest JDK version. jar icon and select properties, it will show that file opens with “Java(TM) Platform SE Binary”. jar file association with latest version we installed in the PC.
JAVA_HOME, JRE_HOME or PATH), instead I use command prompt to run java in user process whenever I wanted to use a different version. So I do not want to change the system variables (i.e. Since I am a software developer working with several different versions for different clients I need to use multiple JDKs in my PC (Windows 10 Pro). In my case the reason is I have multiple JDK & JRE versions installed on my computer. I had a similar issue, and searched the internet for a solution and none of the suggestions didn’t open by double clicking the. Some older JDK installers also copy some java files such as java.exe, javaw.exe into C:\Windows\System32 folder.
Click Apply, then click on OK and close the window.Īfter this, restart your PC, and your issues should be fixed now.You may have several JDKs installed in your PC. Go to the Compatibility tab, tick the “Run this program in compatibility mode for,” and select Windows ⅞ from the drop-down menu. Go to that location, right-click on the Java.exe file, and select Properties. You will see where your Java.exe is located at the end of the file. Once the WER file is found, right-click on it and open it with Notepad. If it says that no WER file was found, then it means that no such file was created on your PC, but if your app has crashed, then it should be created. Open File Explorer and go to the following location:Ĭ:\Users\\AppData\Local\Microsoft\Windows\WER\ReportArchive. To check the WER file on your PC, follow these steps: Similarly, we can fix the Java Platform SE binary that has stopped working issue by looking at the WER file and assessing the situation. You might not be aware, but whenever an application crashes on your PC, a WER file is created so that professionals can use that information to resolve the issue. To install Java again, go to, click on the Download button, and follow the on-screen instructions to reinstall it. Click on Uninstall, and Java will be uninstalled from your PC. Now, search for Java inside the apps list, and you will see the option.