While watching a tutorial on YouTube, the creator exports a Java JAR file and opens it which runs his created app. When I attempt to repeat the process, it just opens the content of the JAR.


While watching a tutorial on YouTube, the creator exports a Java JAR file and opens it which runs his created app. When I attempt to repeat the process, it just opens the content of the JAR.


Looks like your computer is configured to open JAR files with WinRAR.
You can change this by going to Control Panel > Default Programs
Set java as the program to open JAR files.
Alternatively you can open a cmd window or PowerShell window and type the command
java -jar <path to your JAR file> Good Luck!