-
By installing Oracle JDK I can quickly arrive at a situation on a Windows 10 PC where I can double click on a test jar file and the jar file opens. --- Details of Oracle JDK setup --- Details of jar test file --- Details of the Microsoft Build of OpenJDK setup --- I think I might be simply missing a very simple step or setting to be able to double click on my test jar file and be able to open it with the Microsoft Build of OpenJDK on a fresh Windows 11 (or Windows 10 for what it matters). Thank you Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 9 replies
-
Hi @nedone15, It is a bit confusing why you have to install so many JDKs just to be able to run a single JAR file. Is your goal to be able to run a JAR as an executable by double-clicking on it in Windows Explorer? |
Beta Was this translation helpful? Give feedback.
-
Hi brunoborges, Thanks for your feedback. The are several reasons why I installed multiple JDK versions and I am OK with having those multiple JDK versions. Yes: the aim in switching from Oracle JDKs to the Microsoft Builds of OpenJDK was being able to open a jar file by double clicking on it in Windows Explorer straight after the reboot after the installation of the JDKs. This was always possible throughout years and years with Oracle JDKs but it didn’t work the first time I tried with the Microsoft Builds of OpenJDK as I detailed in my original message, while I was (maybe wrongly) expecting that that should be the default behavior also for the Microsoft Builds of OpenJDK. Best Regards |
Beta Was this translation helpful? Give feedback.
-
Is there a place where I could get to know when-and-if this feature will be implemented? |
Beta Was this translation helpful? Give feedback.
-
Got it. |
Beta Was this translation helpful? Give feedback.
-
I thought there might have been a registry edit or something similar to perform on-the-fly while waiting that this feature will come automatically from the installation files. Anyways, either way will be useful. |
Beta Was this translation helpful? Give feedback.
-
Hello, I just noticed that the latest Oracle Java critical patch updates cycle happened yesterday. Thank you Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hello, Any chance that the "double-clicking-on-a-jar-file feature" of this thread might have been integrated into the latest release of the Microsoft Builds of OpenJDK which appeared yesterday? Thank you Best Regards |
Beta Was this translation helpful? Give feedback.
-
I just realized that the java tool I was using as a test needs some specific ports to be opened to properly start and these ports were blocked by the firewall. |
Beta Was this translation helpful? Give feedback.
I just realized that the java tool I was using as a test needs some specific ports to be opened to properly start and these ports were blocked by the firewall.
Once these ports were made reachable, everything worked fine and I could open the test java tool by double clicking on its jar file; so all is fine with the Microsoft Build of OpenJDK.
Thanks again for your feedback.
Bets Regards