Good day.
What is the problem: There are GUI applications written in Java. Applications are presented as a jar file. Double-clicking on any of these files (and any other jar executable) does not launch.
What and what I work with: ОC - windows 10. JDK version - 11. Development environment - Intelligent IDEA (with its help I compile source codes and collect jar files).
As I tried to solve the problem: First I decided to check that everything is in order with the jar files themselves. I ran them from the command line using the java -jar JarFilName.jar and javaw -jar JarFileName.jar commands. Everything worked fine. Next, I tried to double-click the same jar files on other PCs where Java is installed. Everything worked fine there. To launch jar files, as a program opening files of this type, Java (TM) Platform SE binary was selected on my PC (on other PCs, where jar opening was working with a mouse click, Java (TM) Platform SE binary was also selected).
Please tell me what the problem may be and how to solve it.