I know that this question has been asked many, many times, but I did my research and my simple test program still does not start with a double click.
When I run the program from jar (java -jar Test.jar), it will work fine, just double click the crash.
I made a simple class in Eclipse on 64-bit Windows 7 Pro, JRE 7 is used and made a Jar file (tried Runnable)
public class Test {
public static void main(String[] args){
System.out.println("nope");
}
}
Basic setting image

Here is what I tried (what I remember):
Checked Manifest and make sure that the class is specified correctly and two extra spaces are added to the end of the main line of the class
The class is included in the jar
Tried Runnable Jar as well as regular Jar
In a regular box, I turned on the main class option and selected the class
ftype java cmd, ,
, .