Double clicking .jar file does nothing!
920046Oct 3 2012 — edited Oct 9 2012Hello i am wondering, how to run a .jar file by double clicking it?
After creating the jar file and by typing javaw.exe -jar ledger.jar in command prompt in windows 7 works fine for my swing application.
I created a .bat file which has javaw.exe -jar ledger.jar also works fine.
But when i double clicking the ledger.jar is not working, not giving any error, not even doing anything.
I tried associating .jar file with java or javaw then also nothing happens.
My questions are:
1) What i have to do to execute the .jar file by double clicking it?
2) Why java is not so user friendly to the end users especially in Desktop Applications?
Thanks in advance.
Note: OS - Windows 7 64 bit
JRE - 32 bit in Program files (x86) folder version 7