How to open/run .jar file (double-click not working)? How to open/run .jar file (double-click not working)? windows windows

How to open/run .jar file (double-click not working)?


you can use the command prompt:

javaw.exe -jar yourfile.jar

Hope it works for you.


There are two different types of Java to download: The JDK, which is used to write Java programs, and the RE (runtime environment), which is used to actually run Java programs. Are you sure that you installed the RE instead of the SDK?


Use cmd prompt and type

java -jar exapmple.jar

To run your jar file.

for more information refer to this link it describes how to properly open the jar file.https://superuser.com/questions/745112/how-do-i-run-a-jar-file-without-installing-java