Executable jar not running? Windows 10

I am having various .jar files in my system.
I have the JDK and JRE installed.
Most of jar files run on double clicking, but there are 2 – 3 jar files which do nothing on clicking. Help me.
By the way I am using windows 10 64 bit

Answer

You can debug it in the Command Prompt.

Open start, type in CMD.exe, hit enter

Then, type in

java -jar "pathtofile.jar" without the quotes

or

java "pathtofile.jar"

You should be able to see an output log of what is happening that is making the jar file not execute properly

Leave a Reply

Your email address will not be published. Required fields are marked *