I have created a runnable .jar file on Eclipse (right click on project --> export --> extract required libraries), and saved it to my desktop. However, the file doesn't run when I double click it, and it does not even open when I use the command prompt of java -jar jarfilename.jar 
message that shows up reads:
unable to access jarfile jarfilename.jar.
I tried:
 1. Downloading and running Jarfix.exe to no avail. 
 2. Made sure I have JDK and JRE (I have Java 7 update 79, 8 update 5, and 8 update 71; Java SE Dev Kit 7 update 79 and 8 update 5)
Any help would be greatly appreciated. I am using a Windows PC.
**Edit: After trying out multiple steps, I think the problem was not specifying the .jar file properly. I needed to type java -jar C:\Path to File\myJar.jar.
Now if we can figure out why the double-click doesn't get the file to run...
 
     
     
    