I downloaded a jar application named Need for speed most wanted. I double clicked on the jar file icon, however it did not execute.
I checked I have jre installed in my windows 8 (64 bit) machine in path "C:\Program Files\Java\jre8\bin" and there is also javaw file.
I saw some link like Running Jar file in Windows, how to run .jar file by double click on windows 7 (64) and Can't Run JAR Files but none of them helped me.
I also installed Jarfix and used it. Any way it does not work for me.
I tried to run jar application using command prompt using command:
java -jar "NeedForSpeedMostWanted"
But I get error:
Error: Unable to access jarfile NeedForSpeedMostWanted
And I tried adding .jar extension to command:
java -jar "NeedForSpeedMostWanted.jar"
But again I get another error:
no main manifest attribute, in NeedForSpeedMostWanted.jar
So what else I must check to run my jar file.