![]() ![]() ![]() Right click the shortcut icon and select properties -> Shortcut tabĬhange the text in the target (for example "D:\Dev\JavaApp1.8.jar") 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. You may have several JDKs installed in your PC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |