Q:

Unable to run executable jar file using double click

I was having jdk_1.6 in my machine and I removed it and installed jdk_1.7. So after installing jdk_1.7 I am not able to run my jar file with double click. I could run the same file using command prompt.
After installing jdk_1.7 I run the program from eclipse using java 7 and I exported jar using the same.
I am using following command for running jar:
>>java -jar csv_generator_1.jar 

And this works fine and jar get executed.
But when I right click and open with javaw.exe in  jad/bin folder or jdk/jre/bin/ folder it's not working.
I found same question here link1 and link2, but I am not understating what to do.
Can someone help me to resolve this?

A:

Go there and download newest verson of java RE and install it and it should work. But if it does not work you should get some kind of error message and try to google it. It is possible that your java(s) are broken.

